Module: Feature::DashboardHelpers
- Defined in:
- lib/feature/dashboard/helpers.rb
Instance Method Summary collapse
Instance Method Details
#path_prefix ⇒ Object
7 8 9 |
# File 'lib/feature/dashboard/helpers.rb', line 7 def path_prefix request.env["SCRIPT_NAME"] end |
#url(*path_parts) ⇒ Object
3 4 5 |
# File 'lib/feature/dashboard/helpers.rb', line 3 def url(*path_parts) [ path_prefix, path_parts ].join("/").squeeze("/") end |