diff options
Diffstat (limited to 'app/views')
-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' |