Browse Source

remove spaces inside {} of EnumerationsController

git-svn-id: http://svn.redmine.org/redmine/trunk@20436 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Toshi MARUYAMA 3 years ago
parent
commit
1b1016ae8b
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      app/controllers/enumerations_controller.rb

+ 3
- 3
app/controllers/enumerations_controller.rb View File

@@ -65,12 +65,12 @@ class EnumerationsController < ApplicationController
flash[:notice] = l(:notice_successful_update)
redirect_to enumerations_path
end
format.js { head 200 }
format.js {head 200}
end
else
respond_to do |format|
format.html { render :action => 'edit' }
format.js { head 422 }
format.html {render :action => 'edit'}
format.js {head 422}
end
end
end

Loading…
Cancel
Save