diff options
| author | mo khan <mo@mokhan.ca> | 2014-10-19 18:24:15 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-10-19 18:24:15 -0600 |
| commit | d8e204f69c8317f04dcfc5f43c6f992d4fbfa9a3 (patch) | |
| tree | 6b1681ea837ce52a0841f4b3e7cd3071e4a436d2 /app/controllers/profiles_controller.rb | |
| parent | c35586ca5319e8b1333d577cd5ced786d0c0c0a8 (diff) | |
allow for sorting and searching the admin users listing.
Diffstat (limited to 'app/controllers/profiles_controller.rb')
| -rw-r--r-- | app/controllers/profiles_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index 62d8b381..f200b30c 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -5,7 +5,7 @@ class ProfilesController < ApplicationController end def index - @profiles = repository.search_with(params).page(page).per(per_page) + @profiles = repository.artists.search_with(params).page(page).per(per_page) end def show |
