Skip to content

Commit

Permalink
Limiting routes to get requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Catley committed Jul 2, 2009
1 parent 7b8b904 commit 8440abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
@@ -1,3 +1,3 @@
ActionController::Routing::Routes.draw do |map|
map.rorir 'rorir/:style/:text.:format', :controller => 'rorir', :action => 'show'
map.rorir 'rorir/:style/:text.:format', :controller => 'rorir', :action => 'show', :conditions => {:method => :get}
end

0 comments on commit 8440abe

Please sign in to comment.