diff options
author | rhenium <re4k@re4k.info> | 2013-05-18 22:11:52 +0900 |
---|---|---|
committer | rhenium <re4k@re4k.info> | 2013-05-18 22:11:52 +0900 |
commit | 2cc364a14c3211eaaac05c5d75591e7b70c7a8ca (patch) | |
tree | 7f31c4659c601cd2be148a9d8402bbf1f3d0072f /config/routes.rb | |
parent | c91bc3a5234fc02cfeaec7d1678af8c30a15e5a2 (diff) | |
download | aclog-2cc364a14c3211eaaac05c5d75591e7b70c7a8ca.tar.gz |
rename MainController
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 2972d2b..5eb847b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -4,7 +4,6 @@ Aclog::Application.routes.draw do screen_name_b: /[a-zA-Z0-9_]{1,20}/, } - # MainController root to: "main#index" scope format: false, constraints: constraints do @@ -19,7 +18,7 @@ Aclog::Application.routes.draw do get "/i/report" => "report#index", as: "report" post "/i/report/tweet" => "report#tweet" - scope "about", controller: "main" do + scope "about", controller: "about" do get "/", action: "about", as: "about" get "/api", action: "api", as: "about_api" end |