mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 16:20:12 +01:00
fixed routing problem
This commit is contained in:
parent
bc529f7baa
commit
ad2df4a792
2 changed files with 2 additions and 5 deletions
|
|
@ -43,9 +43,6 @@ class ProjectsController < ApplicationController
|
|||
## select project that are stalled
|
||||
@blocked_projects = current_user.projects.select {|p| p.blocked?}
|
||||
|
||||
|
||||
|
||||
|
||||
@contexts = current_user.contexts.all
|
||||
init_not_done_counts(['project'])
|
||||
init_project_hidden_todo_counts(['project'])
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ project = project_form
|
|||
<%=image_tag("cancel.png", :alt => "") %>
|
||||
Cancel
|
||||
</a>
|
||||
<a href="<%=project.id.to_s+"/set_reviewed"%>" id="<%= dom_id(project, 'reviewed') %>" class="reviewed">
|
||||
<a href="/projects/<%=project.id.to_s+"/set_reviewed"%>" id="<%= dom_id(project, 'reviewed') %>" class="reviewed">
|
||||
<%=image_tag("reviewed.png", :alt => "") %>
|
||||
Reviewed
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue