app/controllers/alchemy/base_controller.rb in alchemy_cms-7.0.0.pre.b vs app/controllers/alchemy/base_controller.rb in alchemy_cms-7.0.0.pre.c
- old
+ new
@@ -7,16 +7,9 @@
include Alchemy::ConfigurationMethods
include Alchemy::AbilityHelper
include Alchemy::ControllerActions
include Alchemy::Modules
- # Include Turbolinks explicitly in case Alchemy is embedded into a
- # larger application that doesn't work with Turbolinks. The app
- # can then set config.turbolinks.auto_include = false so that
- # Turbolinks is not included in the app controllers.
- include Turbolinks::Controller
- ::ActionDispatch::Assertions.include ::Turbolinks::Assertions
-
protect_from_forgery
before_action :mailer_set_url_options
before_action :set_locale