OSDN Git Service

constructing system picture
[pettanr/pettanr.git] / config / routes.rb
index 3118e85..fe47bc6 100644 (file)
@@ -19,7 +19,7 @@ Pettanr::Application.routes.draw do
   resources :lisences, only: [:index]
   resources :original_lisences
   resources :common_lisences
-  resources :system_pictures, only: [:index, :show]
+  resources :system_pictures, except: [:new, :edit]
 
   # The priority is based upon order of creation:
   # first created -> highest priority.
@@ -33,6 +33,7 @@ Pettanr::Application.routes.draw do
   match 'help/(:action)', :controller => 'help'
   controller 'system' do
     get 'start'
+    get 'index'
 #    match 'start', :to => 'system#start'
   end