-
-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #346 from leastbad/parent_channel
Move StimulusReflex::Channel to app/ and allow for a configurable parent channel
- Loading branch information
Showing
4 changed files
with
5 additions
and
17 deletions.
There are no files selected for viewing
12 changes: 1 addition & 11 deletions
12
lib/stimulus_reflex/channel.rb → app/channels/stimulus_reflex/channel.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
lib/generators/stimulus_reflex/templates/config/initializers/stimulus_reflex.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# frozen_string_literal: true | ||
|
||
StimulusReflex.configure do |config| | ||
# configuration options explained here: | ||
# Short description of what the config variable does, best with the available options. | ||
# config.example = true | ||
# Override the parent class that the StimulusReflex ActionCable channel inherits from | ||
# config.parent_channel = "ApplicationCable::Channel" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters