# match 'resource_pictures/full/:id(.:format)/' => 'resource_pictures#show'
# match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
#match 'scroll_panels/scroll/:id(.:format)' => 'scroll_panels#scroll'
- match 'top/(:action)', :controller => 'top'
- match 'home/(:action)', :controller => 'home'
- match 'system/(:action)', :controller => 'system'
+ match 'top/(:action)', :controller => 'top', via: [:get]
+ match 'home/(:action)', :controller => 'home', via: [:get]
+ match 'system/(:action)', :controller => 'system', via: [:get, :post]
#match 'authors/(:action(/:id))', :controller => 'authors'
# Sample of named route:
# This is a legacy wild controller route that's not recommended for RESTful applications.
# Note: This route will make all actions in every controller accessible via GET requests.
- match ':controller(/:action(/:id(.:format)))'
+ match ':controller(/:action(/:id(.:format)))', via: [:get, :post]
end