Skip to content

Commit

Permalink
Add a route for the thumbnail action for the Image resource.
Browse files Browse the repository at this point in the history
  • Loading branch information
endymion committed Jun 7, 2012
1 parent 0872875 commit 4582fb0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 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.
Expand Down

0 comments on commit 4582fb0

Please sign in to comment.