Closed leastbad closed 4 years ago
Failed to re-render URL undefined method 'authenticate' for nil:NilClass
Also reports of issues with the validated? method.
validated?
Attempt to use SR on a URL that is access-controlled by an authenticated route:
# routes.rb authenticated :user, lambda { |u| u.has_role? :admin } do get "doh", to: "home#doh" end
SR should be able to work with devise authenticated routes.
https://docs.stimulusreflex.com/setup#devise
I would support closing this now, once 2.1.6 is cut. :fireworks:
Failed to re-render URL undefined method 'authenticate' for nil:NilClass
Also reports of issues with the
validated?
method.To Reproduce
Attempt to use SR on a URL that is access-controlled by an authenticated route:
Expected behavior
SR should be able to work with devise authenticated routes.
Screenshots or reproduction
https://docs.stimulusreflex.com/setup#devise
Versions
StimulusReflex
External tools