app/controllers/spina/admin/pages_controller.rb in spina-1.1.3 vs app/controllers/spina/admin/pages_controller.rb in spina-1.1.4

- old
+ new

@@ -40,10 +40,10 @@ add_breadcrumb @page.title @page_parts = @page.view_template_page_parts(current_theme).map { |part| @page.part(part) } render layout: 'spina/admin/admin' end - def update + def update respond_to do |format| Mobility.locale = @locale if @page.update(page_params) @page.touch format.html { redirect_to spina.edit_admin_page_url(@page, params: {locale: @locale}), flash: {success: t('spina.pages.saved')} }