Fix to show report name in Activities

This commit is contained in:
Urban Rotnik 2019-04-01 08:55:09 +02:00
parent 0ed96d68de
commit dc0c629798
2 changed files with 2 additions and 2 deletions

View file

@ -71,6 +71,8 @@ module GlobalActivitiesHelper
else
return current_value
end
when Report
path = reports_path
else
return current_value
end

View file

@ -803,7 +803,6 @@ ActiveRecord::Schema.define(version: 20190304153544) do
t.bigint "assigned_by_id"
t.index ["assigned_by_id"], name: "index_user_projects_on_assigned_by_id"
t.index ["project_id"], name: "index_user_projects_on_project_id"
t.index ["user_id", "project_id"], name: "index_user_projects_on_user_id_and_project_id", unique: true
t.index ["user_id"], name: "index_user_projects_on_user_id"
end
@ -829,7 +828,6 @@ ActiveRecord::Schema.define(version: 20190304153544) do
t.bigint "assigned_by_id"
t.index ["assigned_by_id"], name: "index_user_teams_on_assigned_by_id"
t.index ["team_id"], name: "index_user_teams_on_team_id"
t.index ["user_id", "team_id"], name: "index_user_teams_on_user_id_and_team_id", unique: true
t.index ["user_id"], name: "index_user_teams_on_user_id"
end