gitlab-org--gitlab-foss/spec
Fatih Acet c61ebedaee Merge branch '19814-regression-snippet-pagination-on-user-page-leads-to-raw-json-instead-of-normal-webpage' into 'master'
Fix pagination on user snippets page

## What does this MR do?

Copy the pagination code from projects -> snippets on a user's profile page.

## Are there points in the code the reviewer needs to double check?

Don't think so.

## Why was this MR needed?

It was a bug!

## Screenshots (if relevant)

(I set the pagination to two per page for this, because I'm lazy.)

![Snippets](/uploads/986abd8608cda1cd76416e55b2c3a3ba/Snippets.gif)

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

Closes #19814.

See merge request !6179
2016-09-06 12:36:20 +00:00
..
config
controllers Merge branch 'master' of https://dev.gitlab.org/gitlab/gitlabhq 2016-09-05 17:23:32 +02:00
factories Project tools visibility level 2016-09-01 11:47:59 -03:00
features Merge branch '19814-regression-snippet-pagination-on-user-page-leads-to-raw-json-instead-of-normal-webpage' into 'master' 2016-09-06 12:36:20 +00:00
finders add specs for tags finder 2016-08-31 19:16:47 +01:00
fixtures Returns the total number of issues in the JSON response 2016-08-31 09:30:37 +01:00
helpers Don't create groups for unallowed users when importing projects 2016-08-31 12:55:45 -03:00
initializers
javascripts Convert datetime coffeescript spec to ES6 2016-09-01 21:09:47 -05:00
lib Clean up search result classes 2016-09-06 10:12:55 +03:00
mailers
models Merge branch 'safe-ref-updates' into 'master' 2016-09-05 10:48:06 +00:00
policies add project_policy_spec to replace .project_abilities spec 2016-08-30 11:35:06 -07:00
requests Merge branch 'internal_recovery_api' into 'master' 2016-09-02 14:20:07 +00:00
routing Fix markdown help references 2016-08-26 09:38:21 -05:00
services Merge branch 'master' of https://dev.gitlab.org/gitlab/gitlabhq 2016-09-05 17:23:32 +02:00
support Merge branch 'shorten-task-status-phrase' into 'master' 2016-08-30 17:46:03 +00:00
tasks/gitlab
uploaders
views Fix test 2016-08-30 13:05:40 +02:00
workers Project tools visibility level 2016-09-01 11:47:59 -03:00
factories_spec.rb
rails_helper.rb
simplecov_env.rb Bump SimpleCov merge timeout to 365 days 2016-08-22 13:44:14 +02:00
spec_helper.rb Merge remote-tracking branch 'upstream/master' into artifacts-from-ref-and-build-name 2016-08-24 20:56:30 +08:00
teaspoon_env.rb