diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-25 11:08:56 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-25 11:08:56 +0400 |
commit | f6a4e5636d2ed6d99006c36b59da04ec86dfebab (patch) | |
tree | 5b6564f9fcf72583be9be467265b659fbb03ea2d | |
parent | 16ea2ec1894da1077ccd7b0e39a50b3cedd1fe2a (diff) |
Include scope in dashboard filters
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | app/helpers/dashboard_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/dashboard_helper.rb b/app/helpers/dashboard_helper.rb index 35c7bcbd2cf..cbc8c336bea 100644 --- a/app/helpers/dashboard_helper.rb +++ b/app/helpers/dashboard_helper.rb @@ -2,6 +2,7 @@ module DashboardHelper def filter_path(entity, options={}) exist_opts = { status: params[:status], + scope: params[:scope], project_id: params[:project_id], } @@ -12,7 +13,7 @@ module DashboardHelper path end - def entities_per_project project, entity + def entities_per_project(project, entity) items = project.items_for(entity) items = case params[:status] |