Mercurial > zeropaste
view config/routes.rb @ 436:72557a5310d9
Update readme
- minimum ruby version
- failing drone.io (missing latest ruby and stuff)
author | nanaya <me@myconan.net> |
---|---|
date | Mon, 13 Jun 2016 15:07:38 +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