Module: BackupNexus::ApplicationHelper
- Includes:
- RailsNexus::ApplicationHelper
- Included in:
- ApplicationController
- Defined in:
- app/helpers/backup_nexus/application_helper.rb
Instance Method Summary collapse
- #backup_config_history_path(resource) ⇒ Object
- #backup_destroy_path(resource) ⇒ Object
- #backup_history_path ⇒ Object
- #backup_path(_resource = nil) ⇒ Object
- #backup_trigger_path(resource) ⇒ Object
- #backup_update_path(resource) ⇒ Object
- #edit_backup_path(resource) ⇒ Object
- #new_backup_path ⇒ Object
Instance Method Details
#backup_config_history_path(resource) ⇒ Object
32 33 34 |
# File 'app/helpers/backup_nexus/application_helper.rb', line 32 def backup_config_history_path(resource) backup_nexus_route_path("/backup/#{backup_nexus_param(resource)}/history") end |
#backup_destroy_path(resource) ⇒ Object
24 25 26 |
# File 'app/helpers/backup_nexus/application_helper.rb', line 24 def backup_destroy_path(resource) backup_nexus_route_path("/backup/#{backup_nexus_param(resource)}") end |
#backup_history_path ⇒ Object
16 17 18 |
# File 'app/helpers/backup_nexus/application_helper.rb', line 16 def backup_history_path backup_nexus_route_path("/backup/history") end |
#backup_path(_resource = nil) ⇒ Object
8 9 10 |
# File 'app/helpers/backup_nexus/application_helper.rb', line 8 def backup_path(_resource = nil) backup_nexus_route_path("/backup") end |
#backup_trigger_path(resource) ⇒ Object
28 29 30 |
# File 'app/helpers/backup_nexus/application_helper.rb', line 28 def backup_trigger_path(resource) backup_nexus_route_path("/backup/#{backup_nexus_param(resource)}/trigger") end |
#backup_update_path(resource) ⇒ Object
36 37 38 |
# File 'app/helpers/backup_nexus/application_helper.rb', line 36 def backup_update_path(resource) backup_nexus_route_path("/backup/#{backup_nexus_param(resource)}") end |
#edit_backup_path(resource) ⇒ Object
20 21 22 |
# File 'app/helpers/backup_nexus/application_helper.rb', line 20 def edit_backup_path(resource) backup_nexus_route_path("/backup/#{backup_nexus_param(resource)}/edit") end |
#new_backup_path ⇒ Object
12 13 14 |
# File 'app/helpers/backup_nexus/application_helper.rb', line 12 def new_backup_path backup_nexus_route_path("/backup/new") end |