Commit 072883fd authored by Andrew8xx8's avatar Andrew8xx8

Search projects on dashboard was not worked. Fixed

parent 7367f1cf
......@@ -34,6 +34,7 @@ class DashboardController < ApplicationController
@projects
end
@projects = @projects.search(params[:search]) if params[:search].present?
@projects = @projects.page(params[:page]).per(30)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment