diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-06-04 08:37:19 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-06-04 08:37:19 +0200 |
commit | 18b1f171bd0b9700e73c37c23150bea9fb251b3e (patch) | |
tree | 5c461f95d6b5b50b75edb4946ea8b980318e7dfe /app/views/snippets | |
parent | 84dc9cd6926ea8bc4db533e658463b4e60f68e6b (diff) | |
download | gitlab-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.haml | 12 |
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' |