diff config/routes.rb @ 431:68eb23b52864

Rails 5 \o/
author nanaya <me@myconan.net>
date Fri, 13 May 2016 03:56:07 +0900
parents 9fe8c29c27c4
children
line wrap: on
line diff
--- a/config/routes.rb	Tue Mar 01 16:36:10 2016 +0900
+++ b/config/routes.rb	Fri May 13 03:56:07 2016 +0900
@@ -1,4 +1,4 @@
-Zeropaste::Application.routes.draw do
+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"