Skip to content

Commit

Permalink
This method can be made private
Browse files Browse the repository at this point in the history
Not invoking it to configure the suite anymore
  • Loading branch information
jorgemanrubia committed Dec 21, 2024
1 parent c10cbbe commit 0aed259
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/hotwire/spark/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ def install
monitor_paths
end

def configure_middleware
middleware.use Hotwire::Spark::Middleware
end

private
attr_reader :application
delegate :middleware, to: :application

def configure_middleware
middleware.use Hotwire::Spark::Middleware
end

def configure_cable_server
application.routes.prepend do
mount Hotwire::Spark.cable_server => "/hotwire-spark", internal: true, anchor: true
Expand Down

0 comments on commit 0aed259

Please sign in to comment.