summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-09 16:37:18 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-09 16:43:17 +0300
commit4c8224ae1e9a89e9df5c32beb7afad2f0835fc2b (patch)
tree6d72fa7c681118deb9f25a3c1a0fc2586a355878 /app/controllers
parentc41e66db520c43fdcfc0e1e49208a23bb02835a7 (diff)
downloadgitlab-ce-4c8224ae1e9a89e9df5c32beb7afad2f0835fc2b.tar.gz
Move profile account to separate controller
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/profiles/accounts_controller.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/controllers/profiles/accounts_controller.rb b/app/controllers/profiles/accounts_controller.rb
new file mode 100644
index 00000000000..fe121691a10
--- /dev/null
+++ b/app/controllers/profiles/accounts_controller.rb
@@ -0,0 +1,7 @@
+class Profiles::AccountsController < ApplicationController
+ layout "profile"
+
+ def show
+ @user = current_user
+ end
+end