view config/routes.rb @ 318:a8daca6e56ce

Less complain from rubocop.
author edogawaconan <me@myconan.net>
date Sat, 05 Apr 2014 23:25:48 +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