Skip to content

Commit

Permalink
Fix page
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashnikovisme committed Jul 22, 2023
1 parent c302954 commit ca63b22
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 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
16 changes: 6 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,6 @@ GIT
thor (~> 1.0)
zeitwerk (~> 2.6)

PATH
remote: vendor/tramway
specs:
tramway (0.2.1.2)
haml-rails
rails (~> 7)
view_component

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -328,14 +320,18 @@ 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)
railties (>= 6.0.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2)
view_component (3.1.0)
view_component (3.4.0)
activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0)
method_source (~> 1.0)
Expand Down Expand Up @@ -392,7 +388,7 @@ DEPENDENCIES
sidekiq (~> 7.0)
sprockets-rails
stimulus-rails
tramway!
tramway (= 0.2.1.3)
turbo-rails
tzinfo-data
view_component
Expand Down
2 changes: 1 addition & 1 deletion app/models/podcast.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ class Podcast < ApplicationRecord

has_one_attached :logo

after_create_commit { broadcast_append_to 'podcasts' }
after_create_commit { broadcast_append_to 'podcasts', locals: { podcast: PodcastDecorator.decorate(self) } }
end

0 comments on commit ca63b22

Please sign in to comment.