Sha256: 3762b350df12784e9a258754490fc082914f714d1f6336f5789907a48704bdf3
Contents?: true
Size: 577 Bytes
Versions: 7
Compression:
Stored size: 577 Bytes
Contents
module Cms module Sites # Override Devise Helpers to point to main_app rather than engine. # Used for public site authentication. module AuthenticationHelper def new_session_path(resource_name) # login_path main_app.new_cms_user_session_path end def session_path(resource_name) main_app.cms_user_session_path end def password_path(resource_name) main_app.cms_user_password_path end def new_password_path(resource_name) main_app.forgot_password_path end end end end
Version data entries
7 entries across 7 versions & 1 rubygems