changeset 309:9fe8c29c27c4

Standardize syntax.
author edogawaconan <me@myconan.net>
date Wed, 12 Mar 2014 19:52:28 +0900
parents e855e58d137e
children f695d7ecdd27
files config/routes.rb
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/config/routes.rb	Wed Feb 19 20:21:20 2014 +0900
+++ b/config/routes.rb	Wed Mar 12 19:52:28 2014 +0900
@@ -1,5 +1,5 @@
 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'
+  post "(pastes)" => "pastes#create", :format => /(html|json|xml|txt)/, :as => "pastes"
+  resources :pastes, :only => [:show, :destroy], :path => "/"
+  root :to => "pastes#new"
 end