OSDN Git Service

update
[pettanr/pettanr.git] / config / routes.rb
index 0e0b2c6..fe47bc6 100644 (file)
@@ -19,6 +19,7 @@ Pettanr::Application.routes.draw do
   resources :lisences, only: [:index]
   resources :original_lisences
   resources :common_lisences
+  resources :system_pictures, except: [:new, :edit]
 
   # The priority is based upon order of creation:
   # first created -> highest priority.
@@ -32,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