mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-01 14:58:50 +01:00
fix #1287. Fix various small bugs and some small improvements
This commit is contained in:
parent
88729f57ce
commit
bd8498f39c
10 changed files with 18 additions and 40 deletions
|
|
@ -182,7 +182,10 @@ class ProjectsController < ApplicationController
|
|||
@contexts = current_user.contexts
|
||||
|
||||
respond_to do |format|
|
||||
format.js { @down_count = current_user.projects.size }
|
||||
format.js do
|
||||
@down_count = current_user.projects.size
|
||||
init_not_done_counts
|
||||
end
|
||||
format.xml do
|
||||
if @project.new_record?
|
||||
render_failure @project.errors.to_xml.html_safe, 409
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue