config/routes.rb in mulberry_preview-0.0.7 vs config/routes.rb in mulberry_preview-0.0.8
- old
+ new
@@ -1,7 +1,7 @@
Rails.application.routes.draw do
- get "preview/:type/:id" => "preview#index", as: :preview
- get "download/:type/:id" => "preview#download", as: :download
- post "open" => "preview#open"
+ get 'preview/:type/:id' => 'preview#index', as: :preview
+ get 'download/:type/:id' => 'preview#download', as: :download
+ post 'open' => 'preview#open'
end