Fix comments in MR. Fixed event destroy with user
This commit is contained in:
parent
214fdd2d2f
commit
1464952597
9 changed files with 24 additions and 15 deletions
|
@ -6,7 +6,7 @@ class Admin::ProjectsController < ApplicationController
|
|||
def index
|
||||
@admin_projects = Project.scoped
|
||||
@admin_projects = @admin_projects.search(params[:name]) if params[:name].present?
|
||||
@admin_projects = @admin_projects.page(params[:page])
|
||||
@admin_projects = @admin_projects.page(params[:page]).per(20)
|
||||
end
|
||||
|
||||
def show
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue