Skip to content

Commit

Permalink
Application routes should be engine routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Trung Lê committed Oct 21, 2011
1 parent b8804a0 commit 265600e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
Rails.application.routes.draw do

match "/email_to_friend/:type/:id" => 'email_sender#send_mail', :as => :email_to_friend
SpreeEmailToFriend::Engine.routes.draw do
match '/email_to_friend/:type/:id' => 'email_sender#send_mail', :as => :email_to_friend

namespace :admin do
resource :captcha_settings
end

end

0 comments on commit 265600e

Please sign in to comment.