Module: Authpds::Helpers::Institution::UrlHelper
- Includes:
- ParamHelper
- Included in:
- Controllers::AuthpdsController
- Defined in:
- lib/authpds/helpers/institution/url_helper.rb
Instance Method Summary collapse
-
#url_for(options = {}) ⇒ Object
Override Rails #url_for to add institution.
Methods included from ParamHelper
#institution_param, #institution_param_key
Instance Method Details
#url_for(options = {}) ⇒ Object
Override Rails #url_for to add institution
9 10 11 12 13 14 |
# File 'lib/authpds/helpers/institution/url_helper.rb', line 9 def url_for(={}) if institution_param.present? and .is_a? Hash [institution_param_key] ||= institution_param end super end |