view config/routes.rb @ 382:8ceb373e32d8

Nuke out javascripts =] Will bring some back later.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:56:01 +0900
parents 9fe8c29c27c4
children 68eb23b52864
line wrap: on
line source

Zeropaste::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