Sha256: 731607e6cb310e3b0b5ce712bfe42e8f25bdec17f23c5452f0b8ce022cb91d01
Contents?: true
Size: 393 Bytes
Versions: 2
Compression:
Stored size: 393 Bytes
Contents
Rails.application.routes.draw do resources :images match '/edit(/*requested_uri)' => "mercury#edit" namespace :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) root to: "application#show" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mercury-rails-0.1.1 | config/routes.rb |
mercury-rails-0.1.0 | config/routes.rb |