app/controllers/redditor/admin/pages_controller.rb in redditor-0.1.17 vs app/controllers/redditor/admin/pages_controller.rb in redditor-0.1.20
- old
+ new
@@ -7,9 +7,8 @@
params[:sort].each do |k, v|
v.each do |klass, info|
"Redditor::#{klass.camelcase.gsub('Redditor::', '')}".constantize.find_by_id(info[:index]).update_attributes(position: info[:position]) rescue nil
end
end
-
- render :nothing => true
+ render nothing: true
end
-end
\ No newline at end of file
+end