Module: BookingsyncApplication::Controllers::CommonBase

Included in:
Api::BaseController
Defined in:
lib/bookingsync_application/controllers/common_base.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/bookingsync_application/controllers/common_base.rb', line 4

def self.included(base)
  base.class_eval do
    force_ssl if Rails.version < "6.1"

    before_action :authenticate_account!
    after_action :allow_bookingsync_iframe
  end
end