app/controllers/effective/pages_controller.rb in effective_pages-3.7.8 vs app/controllers/effective/pages_controller.rb in effective_pages-3.7.9

- old
+ new

@@ -23,10 +23,10 @@ if EffectiveResources.authorized?(self, :admin, :effective_pages) flash.now[:warning] = [ 'Hi Admin!', ('You are viewing a draft page.' unless @page.published?), - ("<a href='#{effective_pages.edit_admin_page_path(@page)}' class='alert-link'>Click here to edit this page</a>.") + ("<a href='#{effective_pages.edit_admin_page_path(@page)}' class='alert-link' data-turbolinks='false'>Click here to edit this page</a>.") ].compact.join(' ') end template = File.join(EffectivePages.pages_path, @page.template) layout = File.join(EffectivePages.layouts_path, @page.layout)