aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/users_controller.rb
diff options
context:
space:
mode:
authorre4k <re4k@re4k.info>2013-05-01 18:41:43 +0900
committerre4k <re4k@re4k.info>2013-05-01 18:41:43 +0900
commit2844d9159d6417f8c8d55e818c2ed6a4e30ea405 (patch)
treeadf46b859a390474fec4028bc17d80efccfa9e5b /app/controllers/users_controller.rb
parentbcf546c1f5fc305a1b75dfa091630c68668cd590 (diff)
downloadaclog-2844d9159d6417f8c8d55e818c2ed6a4e30ea405.tar.gz
change controller: description to caption/title
Diffstat (limited to 'app/controllers/users_controller.rb')
-rw-r--r--app/controllers/users_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 287fb96..3448967 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -1,19 +1,21 @@
class UsersController < ApplicationController
def info
user_required
- @description = "Profile"
+ @caption = "Profile"
@stats = @user.stats(true)
end
def discovered_by
user_required
@usermap = @user.count_discovered_by
+ @caption = "Discovered By"
render "shared/user_ranking"
end
def discovered_of
user_required
@usermap = @user.count_discovered_of
+ @caption = "Discovered Of"
render "shared/user_ranking"
end