test/tmp/app/reflexes/application_reflex.rb in stimulus_reflex-3.5.0.pre1 vs test/tmp/app/reflexes/application_reflex.rb in stimulus_reflex-3.5.0.pre2

- old
+ new

@@ -1,12 +1,19 @@ # frozen_string_literal: true class ApplicationReflex < StimulusReflex::Reflex # Put application-wide Reflex behavior and callbacks in this file. # - # Example: + # Learn more at: https://docs.stimulusreflex.com/rtfm/reflex-classes # - # # If your ActionCable connection is: `identified_by :current_user` + # If your ActionCable connection is: `identified_by :current_user` # delegate :current_user, to: :connection # - # Learn more at: https://docs.stimulusreflex.com/rtfm/reflex-classes + # If you need to localize your Reflexes, you can set the I18n locale here: + # + # before_reflex do + # I18n.locale = :fr + # end + # + # For code examples, considerations and caveats, see: + # https://docs.stimulusreflex.com/rtfm/patterns#internationalization end