app/controllers/tramway/admin/welcome_controller.rb in tramway-admin-1.21.2 vs app/controllers/tramway/admin/welcome_controller.rb in tramway-admin-1.22
- old
+ new
@@ -1,7 +1,9 @@
# frozen_string_literal: true
class Tramway::Admin::WelcomeController < Tramway::Admin::ApplicationController
skip_before_action :check_available!
- def index; end
+ def index
+ self.instance_exec(&::Tramway::Admin.welcome_page_actions)
+ end
end