Module: RootsHelper

Defined in:
lib/colonel/server/helpers/roots_helper.rb

Instance Method Summary collapse

Instance Method Details

#create_pathObject



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_pathObject



18
19
20
# File 'lib/colonel/server/helpers/roots_helper.rb', line 18

def index_path
  "/"
end

#new_pathObject



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