mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-03 23:53:23 +00: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:
parent
0fd42d43bd
commit
d6357691b0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user