view config/routes.rb @ 455:76153b601d7e

No more zoom on mobile
author nanaya <me@nanaya.pro>
date Tue, 14 Nov 2017 22:40:10 +0900
parents 68eb23b52864
children
line wrap: on
line source

Rails.application.routes.draw do
  post "(pastes)" => "pastes#create", :format => /(html|json|xml|txt)/, :as => "pastes"
  resources :pastes, :only => [:show, :destroy], :path => "/"
  root :to => "pastes#new"
end