flash[:notice] = l(:notice_successful_update)
redirect_to roles_path(:page => params[:page])
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
scope = scope.where(:id => params[:ids])
end
@roles = scope.to_a
- @permissions = Redmine::AccessControl.permissions.select { |p| !p.public? }
+ @permissions = Redmine::AccessControl.permissions.select {|p| !p.public?}
end
def update_permissions