lib/alchemy/controller_actions.rb in alchemy_cms-3.1.3 vs lib/alchemy/controller_actions.rb in alchemy_cms-3.2.0.beta
- old
+ new
@@ -1,10 +1,11 @@
module Alchemy
module ControllerActions
extend ActiveSupport::Concern
included do
- prepend_before_action :set_alchemy_language, :set_current_alchemy_site
+ before_action :set_current_alchemy_site
+ before_action :set_alchemy_language
helper 'alchemy/pages'
helper_method :current_alchemy_user,
:alchemy_user_signed_in?,