Module: Authpds::Helpers::Institution::ParamHelper
- Included in:
- CurrentInstitutionHelper, UrlHelper
- Defined in:
- lib/authpds/helpers/institution/param_helper.rb
Instance Method Summary collapse
-
#institution_param ⇒ Object
The institution param as a Symbol.
-
#institution_param_key ⇒ Object
The institution param key as configured in UserSession.
Instance Method Details
#institution_param ⇒ Object
The institution param as a Symbol
11 12 13 14 15 |
# File 'lib/authpds/helpers/institution/param_helper.rb', line 11 def institution_param if params["#{institution_param_key}"].present? params["#{institution_param_key}"].to_sym end end |
#institution_param_key ⇒ Object
The institution param key as configured in UserSession
6 7 8 |
# File 'lib/authpds/helpers/institution/param_helper.rb', line 6 def institution_param_key @institution_param_key ||= UserSession.institution_param_key end |