mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-04 23:11:47 +01:00
fix default project map for tag view.
the initialisation of the default project map was not present in the tag view causing a javascript error in the browser
This commit is contained in:
parent
aa695c186e
commit
b9a772b9df
1 changed files with 3 additions and 1 deletions
|
|
@ -360,7 +360,9 @@ class TodosController < ApplicationController
|
|||
# @default_project_context_name_map =
|
||||
# build_default_project_context_name_map(@projects).to_json
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.html {
|
||||
@default_project_context_name_map = build_default_project_context_name_map(@projects).to_json
|
||||
}
|
||||
format.m {
|
||||
cookies[:mobile_url]=request.request_uri
|
||||
render :action => "mobile_tag"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue