OSDN Git Service

fix
[pettanr/pettanr.git] / config / routes.rb
index 59fc6e5..d5f7c6d 100644 (file)
@@ -303,7 +303,7 @@ Pettanr::Application.routes.draw do
     member do
       get :by_license
         get :by_license_group
-      get :artist
+      get :by_artist
       delete :destroy
       get :credit
     end
@@ -497,7 +497,7 @@ Pettanr::Application.routes.draw do
   # Sample of regular route:
   #   match 'products/:id' => 'catalog#view'
   # Keep in mind you can assign values other than :controller and :action
-  match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
+  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'