mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-02 19:10:16 +01:00
fix the deprecation warnings that were shown during the tests
This commit is contained in:
parent
a832417c59
commit
09830d044d
13 changed files with 23 additions and 22 deletions
|
|
@ -71,7 +71,7 @@ function remove_and_re_add_project() {
|
|||
# render it into the function.
|
||||
-%>
|
||||
function html_for_project_listing() {
|
||||
return "<%= source_view_is(:project_list) ? escape_javascript(render(:partial => 'project_listing', :locals => { :project_listing => @project })) : "" %>";
|
||||
return "<%= source_view_is(:project_list) ? escape_javascript(render(:partial => 'project_listing', :object => @project )) : "" %>";
|
||||
}
|
||||
|
||||
function html_for_sidebar() {
|
||||
|
|
@ -79,7 +79,7 @@ function html_for_sidebar() {
|
|||
}
|
||||
|
||||
function html_for_project_settings() {
|
||||
return "<%= source_view_is(:project) ? escape_javascript(render(:partial => 'project_settings', :locals => { :project => @project })) : "" %>";
|
||||
return "<%= source_view_is(:project) ? escape_javascript(render(:partial => 'project_settings', :object => @project )) : "" %>";
|
||||
}
|
||||
|
||||
function html_for_error_messages() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue