Skip to content

Commit

Permalink
Config init
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashnikovisme committed Jul 22, 2023
1 parent ca63b22 commit 5759807
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 9 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -388,7 +392,7 @@ DEPENDENCIES
sidekiq (~> 7.0)
sprockets-rails
stimulus-rails
tramway (= 0.2.1.3)
tramway!
turbo-rails
tzinfo-data
view_component
Expand Down
3 changes: 3 additions & 0 deletions config/initializers/tramway.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Tramway.configure do |config|
config.entities = [:podcast, :episode]
end

0 comments on commit 5759807

Please sign in to comment.