Commit 719298c8
Changed files (1)
app
controllers
app/controllers/profiles_controller.rb
@@ -5,7 +5,7 @@ class ProfilesController < ApplicationController
end
def index
- @profiles = repository.search_with(params).page(params[:page]).per(12)
+ @profiles = repository.search_with(params).page(page).per(per_page)
end
def show