Skip to content

Commit

Permalink
Use routes.draw instead of add_routes
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed Jan 9, 2017
1 parent 0a72182 commit 56bbed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#end
#

Spree::Core::Engine.add_routes do
Spree::Core::Engine.routes.draw do
namespace :admin do
resources :comments
resources :comment_types
Expand Down

0 comments on commit 56bbed2

Please sign in to comment.