Module: OodAppkit::DefaultCookieOptions
- Defined in:
- lib/ood_appkit/default_cookie_options.rb
Instance Method Summary collapse
Instance Method Details
#handle_options(options) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/ood_appkit/default_cookie_options.rb', line 3 def () if base_uri = ENV["RAILS_RELATIVE_URL_ROOT"] [:path] = base_uri unless /^#{Regexp.quote base_uri}/ =~ [:path] end super() end |