config/routes.rb in mercury-rails-0.2.0 vs config/routes.rb in mercury-rails-0.2.3
- old
+ new
@@ -1,15 +1,15 @@
Rails.application.routes.draw do
resources :images
- match '/editor(/*requested_uri)' => "mercury#edit"
+ match '/editor(/*requested_uri)' => "mercury#edit", :as => :mercury_editor
scope '/mercury' do
match ':type/:resource' => "mercury#resource"
match 'snippets/:name/options' => "mercury#snippet_options"
match 'snippets/:name/preview' => "mercury#snippet_preview"
end
if defined?(Mercury::Application)
- match '/test_post' => "mercury#post"
+ match 'mercury/test_page' => "mercury#test_page"
end
end