mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-10 11:18:51 +01:00
fix path error in js and update gems
This commit is contained in:
parent
655d59c1ee
commit
52929bdbcb
2 changed files with 47 additions and 46 deletions
|
|
@ -6,14 +6,14 @@ TracksApp =
|
|||
title: "Go to project"
|
||||
placeholder: "Type (part of) project name"
|
||||
autocomplete_link: "<%= Rails.application.routes.url_helpers.projects_path(format: :autocomplete) %>"
|
||||
target_link: "<%= Rails.application.routes.url_helpers.project_path "" %>"
|
||||
target_link: "<%= Rails.application.routes.url_helpers.project_path(1)[0..-2] %>" # remove id 1 from path
|
||||
target_id: "id" # json/datum field containing id to use
|
||||
}
|
||||
context: {
|
||||
title: "Go to context"
|
||||
placeholder: "Type (part of) context name"
|
||||
autocomplete_link: "<%= Rails.application.routes.url_helpers.contexts_path(format: :autocomplete) %>"
|
||||
target_link: "<%= Rails.application.routes.url_helpers.context_path ""%>"
|
||||
target_link: "<%= Rails.application.routes.url_helpers.context_path(1)[0..-2] %>" # remove id 1 from path
|
||||
target_id: "id" # json/datum field containing id to use
|
||||
}
|
||||
tag: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue