Module: AdminHelpers
- Defined in:
- lib/activeadmin_jobs/activeadmin_config.rb
Class Method Summary collapse
Class Method Details
.jobs_url ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/activeadmin_jobs/activeadmin_config.rb', line 2 def self.jobs_url url = ["/"] if ActiveAdmin.application.default_namespace.present? url << "#{ActiveAdmin.application.default_namespace}/" end url << "jobs" url.join("") end |