mirror of
https://github.com/redmine/redmine.git
synced 2026-01-17 13:03:01 +01:00
not use semicolons to terminate expression at SearchController
git-svn-id: http://svn.redmine.org/redmine/trunk@20418 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -85,7 +85,10 @@ class SearchController < ApplicationController
|
||||
end
|
||||
respond_to do |format|
|
||||
format.html { render :layout => false if request.xhr? }
|
||||
format.api { @results ||= []; render :layout => false }
|
||||
format.api do
|
||||
@results ||= []
|
||||
render :layout => false
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user