Sha256: 474f681193199d5acebbbc52a1ac12c612d2070a27476d225d8cedef7ef111ec
Contents?: true
Size: 408 Bytes
Versions: 18
Compression:
Stored size: 408 Bytes
Contents
# Devise::FailureApp controls how warden hands unauthentiacted requests # there's a bug in Devise 3.4.1 in this private method # the fix is on master, yet is unreleased # chances are this can be removed after the next Devise release Devise::FailureApp.class_eval do def scope_url context = send(Devise.available_router_name) route = :"new_#{scope}_session_url" context.send(route, {}) end end
Version data entries
18 entries across 18 versions & 2 rubygems