diff --git a/Gemfile b/Gemfile index 2d2ba44..541a056 100644 --- a/Gemfile +++ b/Gemfile @@ -19,8 +19,8 @@ gem 'stimulus-rails' gem 'turbo-rails' gem 'tzinfo-data', platforms: %i[windows jruby] -gem 'tramway', '0.2.1.3' -# gem 'tramway', path: 'vendor/tramway' +# gem 'tramway', '0.2.1.3' +gem 'tramway', path: 'vendor/tramway' gem 'view_component' group :development do diff --git a/Gemfile.lock b/Gemfile.lock index a7eab5a..32e988b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -94,6 +94,14 @@ GIT thor (~> 1.0) zeitwerk (~> 2.6) +PATH + remote: vendor/tramway + specs: + tramway (0.2.1.3) + haml-rails + rails (~> 7) + view_component + GEM remote: https://rubygems.org/ specs: @@ -320,10 +328,6 @@ GEM thor (1.2.1) tilt (2.1.0) timeout (0.3.2) - tramway (0.2.1.3) - haml-rails - rails (~> 7) - view_component turbo-rails (1.4.0) actionpack (>= 6.0.0) activejob (>= 6.0.0) @@ -388,7 +392,7 @@ DEPENDENCIES sidekiq (~> 7.0) sprockets-rails stimulus-rails - tramway (= 0.2.1.3) + tramway! turbo-rails tzinfo-data view_component diff --git a/config/initializers/tramway.rb b/config/initializers/tramway.rb new file mode 100644 index 0000000..a1ec00a --- /dev/null +++ b/config/initializers/tramway.rb @@ -0,0 +1,3 @@ +Tramway.configure do |config| + config.entities = [:podcast, :episode] +end