lib/mno_enterprise/concerns/controllers/pages_controller.rb in mno-enterprise-api-3.2.1 vs lib/mno_enterprise/concerns/controllers/pages_controller.rb in mno-enterprise-api-3.3.0
- old
+ new
@@ -1,15 +1,17 @@
module MnoEnterprise::Concerns::Controllers::PagesController
extend ActiveSupport::Concern
+ include MnoEnterprise::ImageHelper
#==================================================================
# Included methods
#==================================================================
# 'included do' causes the included code to be evaluated in the
# context where it is included rather than being executed in the module's context
included do
before_filter :authenticate_user!, only: [:launch]
before_filter :redirect_to_lounge_if_unconfirmed, only: [:launch]
+ helper_method :main_logo_white_bg_path # To use in the provision view
end
#==================================================================
# Instance methods
#==================================================================