mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-09 10:48:50 +01:00
Pre-populate default tags from project instead of adding them when a todo is created. Fixes #879.
This commit is contained in:
parent
7c1b4c0a24
commit
0fda4506eb
9 changed files with 63 additions and 14 deletions
|
|
@ -54,6 +54,7 @@ class ProjectsController < ApplicationController
|
|||
@next_project = current_user.projects.next_from(@project)
|
||||
@previous_project = current_user.projects.previous_from(@project)
|
||||
@default_project_context_name_map = build_default_project_context_name_map(current_user.projects).to_json
|
||||
@default_project_tags_map = build_default_project_tags_map(current_user.projects).to_json
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.m &render_project_mobile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue