diff --git a/app/controllers/enumerations_controller.rb b/app/controllers/enumerations_controller.rb index 0eda91e69..0fee5df99 100644 --- a/app/controllers/enumerations_controller.rb +++ b/app/controllers/enumerations_controller.rb @@ -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