config/initializers/tramway.rb in tramway-news-1.0.4.5 vs config/initializers/tramway.rb in tramway-news-1.0.4.6

- old
+ new

@@ -1,8 +1,8 @@ # frozen_string_literal: true Rails.application.config.after_initialize do - Tramway.set_available_models(Tramway::News::News, project: :news) + Tramway.set_available_models([Tramway::News::News], project: :news) Tramway::Landing.head_content = lambda do stylesheet_link_tag 'tramway/news/application' end end