app/helpers/tramway/auth/application_helper.rb in tramway-auth-1.2.1.1 vs app/helpers/tramway/auth/application_helper.rb in tramway-auth-2.0.1

- old
+ new

@@ -5,8 +5,14 @@ module ApplicationHelper include AuthManagement include ::FontAwesome5::Rails::IconHelper include Tramway::Core::TitleHelper include Tramway::Admin::NavbarHelper + include Tramway::Admin::CasesHelper + include Tramway::Admin::RussianCasesHelper + + def decorator_class(model_name = nil) + "#{model_name || model_class}Decorator".constantize + end end end end