app/controllers/tramway/landing/application_controller.rb in tramway-landing-3.3.0.6 vs app/controllers/tramway/landing/application_controller.rb in tramway-landing-3.3.0.7
- old
+ new
@@ -5,11 +5,11 @@
class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
before_action :application
def application
- if ::Tramway::Core.application
- @application = Tramway::Core.application&.model_class&.first || Tramway::Core.application
+ if ::Tramway.application
+ @application = Tramway.application&.model_class&.first || Tramway.application
end
end
end
end
end