Skip to content

Instantly share code, notes, and snippets.

@luca-aurelia
Last active August 24, 2020 19:10
Show Gist options
  • Save luca-aurelia/d031a8e5ab3ac56d4b4cbcfd03f24cb4 to your computer and use it in GitHub Desktop.
Save luca-aurelia/d031a8e5ab3ac56d4b4cbcfd03f24cb4 to your computer and use it in GitHub Desktop.
# Here's our Application Reflex for reference:
class ApplicationReflex < StimulusReflex::Reflex
end
class HsApplicationsReflex < ApplicationReflex
def toggle_shortlist
puts "hi from HsApplicationsReflex#toggle_shortlist"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment