Permalink
Browse files

Add a route for the thumbnail action for the Image resource.

  • Loading branch information...
endymion committed Jun 7, 2012
1 parent 0872875 commit 4582fb06101a80831c1ae9db57265f430fb036d4
Showing with 5 additions and 1 deletion.
  1. +5 −1 config/routes.rb
@@ -1,5 +1,9 @@
PaperclipJustInTimeResizing::Application.routes.draw do
resources :images
resources :images do
member do
get 'thumbnail'
end
end

# The priority is based upon order of creation:
# first created -> highest priority.

0 comments on commit 4582fb0

Please sign in to comment.