Module: BookingsyncApplication::CommonBaseController
- Included in:
- Admin::BaseController
- Defined in:
- lib/bookingsync_application/common_base_controller.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/bookingsync_application/common_base_controller.rb', line 2 def self.included(base) base.class_eval do force_ssl before_action :authenticate_account! after_action :allow_bookingsync_iframe end end |
Instance Method Details
#context ⇒ Object
11 12 13 |
# File 'lib/bookingsync_application/common_base_controller.rb', line 11 def context { current_account: current_account } end |