app/admin/activeadmin_selleo_cms/section.rb in activeadmin-selleo-cms-0.0.41 vs app/admin/activeadmin_selleo_cms/section.rb in activeadmin-selleo-cms-0.0.42
- old
+ new
@@ -25,11 +25,11 @@
controller do
respond_to :html, :js
def create
create! do |success, failure|
- success.html { redirect_to admin_sections_path }
- failure.html { render action: :new }
+ success.html { redirect_to admin_sections_path }
+ failure.html { render action: :new }
end
end
def update
update! do |success, failure|