Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
10 lines (8 sloc) 0.385 kb
Mercury::Engine.routes.draw do
get '/editor(/*requested_uri)' => "mercury#edit", :as => :mercury_editor
scope '/mercury' do
get ':type/:resource', :to => "mercury#resource"
match 'snippets/:name/options', :to => "mercury#snippet_options", :via => [:get, :post]
match 'snippets/:name/preview', :to => "mercury#snippet_preview", :via => [:get, :post]
end
end
Jump to Line
Something went wrong with that request. Please try again.