summaryrefslogtreecommitdiff
path: root/app/views/snippets
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-04 08:37:19 +0200
committerMarin Jankovski <marin@gitlab.com>2014-06-04 08:37:19 +0200
commit18b1f171bd0b9700e73c37c23150bea9fb251b3e (patch)
tree5c461f95d6b5b50b75edb4946ea8b980318e7dfe /app/views/snippets
parent84dc9cd6926ea8bc4db533e658463b4e60f68e6b (diff)
downloadgitlab-ce-18b1f171bd0b9700e73c37c23150bea9fb251b3e.tar.gz
Rename snippets scopes to plural names.
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/current_user_index.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/snippets/current_user_index.html.haml b/app/views/snippets/current_user_index.html.haml
index 3e030428701..e3edd856983 100644
--- a/app/views/snippets/current_user_index.html.haml
+++ b/app/views/snippets/current_user_index.html.haml
@@ -18,16 +18,16 @@
All
%span.pull-right
= @user.snippets.count
- = nav_tab :scope, 'is_private' do
- = link_to user_snippets_path(@user, scope: 'is_private') do
+ = nav_tab :scope, 'are_private' do
+ = link_to user_snippets_path(@user, scope: 'are_private') do
Private
%span.pull-right
- = @user.snippets.is_private.count
- = nav_tab :scope, 'is_public' do
- = link_to user_snippets_path(@user, scope: 'is_public') do
+ = @user.snippets.are_private.count
+ = nav_tab :scope, 'are_public' do
+ = link_to user_snippets_path(@user, scope: 'are_public') do
Public
%span.pull-right
- = @user.snippets.is_public.count
+ = @user.snippets.are_public.count
.col-md-9.my-snippets
= render 'snippets'