You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As in solidus_core, solidus_auth_devise makes of the helper_method function provided by AbstractController. This method is not included in API-only applications, and should be wrapped with respond_to? checks, as Devise has done.
The text was updated successfully, but these errors were encountered:
stewart
added a commit
to stewart/solidus_auth_devise
that referenced
this issue
May 22, 2017
This is considered the "safe" way to invoke `helper_method` in Rails
engines, as it is not available in some contexts, for example in
API-only applications.
Fixessolidusio#90.
As in
solidus_core
,solidus_auth_devise
makes of thehelper_method
function provided byAbstractController
. This method is not included in API-only applications, and should be wrapped withrespond_to?
checks, as Devise has done.The text was updated successfully, but these errors were encountered: