diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-19 13:31:02 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-19 13:31:02 +0000 |
commit | b4cc30ec17891634ef7e4284e8f520c3b0dd46f0 (patch) | |
tree | 511582c3d01ad94cf9e9d9185fdddadb719152bc /app/controllers/files_controller.rb | |
parent | 1b1016ae8be5cdb40e3ecef8aa99b94b8167dad2 (diff) | |
download | redmine-b4cc30ec17891634ef7e4284e8f520c3b0dd46f0.tar.gz redmine-b4cc30ec17891634ef7e4284e8f520c3b0dd46f0.zip |
remove spaces inside {} of FilesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20437 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/files_controller.rb')
-rw-r--r-- | app/controllers/files_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/files_controller.rb b/app/controllers/files_controller.rb index fe81f10c3..eacc70b36 100644 --- a/app/controllers/files_controller.rb +++ b/app/controllers/files_controller.rb @@ -40,7 +40,7 @@ class FilesController < ApplicationController @containers += @project.versions.includes(:attachments). references(:attachments).reorder(sort_clause).to_a.sort.reverse respond_to do |format| - format.html { render :layout => !request.xhr? } + format.html {render :layout => !request.xhr?} format.api end end @@ -64,7 +64,7 @@ class FilesController < ApplicationController flash[:notice] = l(:label_file_added) redirect_to project_files_path(@project) end - format.api { render_api_ok } + format.api {render_api_ok} end else respond_to do |format| @@ -73,7 +73,7 @@ class FilesController < ApplicationController new render :action => 'new' end - format.api { render :status => :bad_request } + format.api {render :status => :bad_request} end end end |