Module: RootsHelper
- Defined in:
- lib/colonel/server/helpers/roots_helper.rb
Instance Method Summary collapse
- #create_path ⇒ Object
- #delete_path(id) ⇒ Object
- #edit_path(id) ⇒ Object
- #index_path ⇒ Object
- #new_path ⇒ Object
- #update_path(id) ⇒ Object
Instance Method Details
#create_path ⇒ Object
22 23 24 |
# File 'lib/colonel/server/helpers/roots_helper.rb', line 22 def create_path "/" end |
#delete_path(id) ⇒ Object
14 15 16 |
# File 'lib/colonel/server/helpers/roots_helper.rb', line 14 def delete_path(id) "/#{id}" end |
#edit_path(id) ⇒ Object
6 7 8 |
# File 'lib/colonel/server/helpers/roots_helper.rb', line 6 def edit_path(id) "/edit/#{id}" end |
#index_path ⇒ Object
18 19 20 |
# File 'lib/colonel/server/helpers/roots_helper.rb', line 18 def index_path "/" end |
#new_path ⇒ Object
2 3 4 |
# File 'lib/colonel/server/helpers/roots_helper.rb', line 2 def new_path '/new' end |
#update_path(id) ⇒ Object
10 11 12 |
# File 'lib/colonel/server/helpers/roots_helper.rb', line 10 def update_path(id) "/#{id}" end |