add mount button

This commit is contained in:
bee0005
2016-08-31 12:29:16 +00:00
parent d5e65393f7
commit 199f2c0c91
3 changed files with 20 additions and 4 deletions

View File

@@ -14,13 +14,19 @@ Rails.application.routes.draw do
get 'index' => 'plainpage#index'
#Volume
get 'volume/index' => 'volume#index'
get 'peer/index' => 'peer#index'
post 'file_upload' => 'volume#file_upload'
post 'volume/changeDir' => 'volume#checkDir'
get 'volume/mount/:volume_id' => "volume#mount"
get 'peer/index' => 'peer#index'
# Example of regular route:
# get 'products/:id' => 'catalog#view'