diff options
author | rhenium <re4k@re4k.info> | 2013-05-28 16:06:55 +0900 |
---|---|---|
committer | rhenium <re4k@re4k.info> | 2013-05-28 16:06:55 +0900 |
commit | 55f7cae17ec78afadb27fd31c62a55c3bc6b47cf (patch) | |
tree | 6d02d963e14861fe3d71c18ace0a8c4587b2f344 /config/routes.rb | |
parent | 76f2450412b974ede2a904504cf5bffd28a01776 (diff) | |
download | aclog-55f7cae17ec78afadb27fd31c62a55c3bc6b47cf.tar.gz |
add account settings
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index eb07dd4..2419eb0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -21,6 +21,13 @@ Aclog::Application.routes.draw do get "/i/:id" => "tweets#show", as: "tweet", constraints: {id: /\d+/} + scope "/i/settings", controller: "settings" do + get "/", action: "index", as: "settings" + post "/update", action: "update" + get "/confirm_deactivation", action: "confirm_deactivation" + post "/deactivate", action: "deactivate" + end + scope "about", controller: "about" do get "/", action: "about", as: "about" get "/api", action: "api", as: "about_api" |