mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
code cleanup
This commit is contained in:
parent
33befa88b3
commit
01bcc7a48c
1 changed files with 0 additions and 7 deletions
|
|
@ -52,16 +52,9 @@ class ProjectsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_reviewed
|
def set_reviewed
|
||||||
#@source_view = 'project'
|
|
||||||
@project = current_user.projects.find(params[:id])
|
@project = current_user.projects.find(params[:id])
|
||||||
@project.last_reviewed = Time.now
|
@project.last_reviewed = Time.now
|
||||||
@project.save
|
@project.save
|
||||||
|
|
||||||
# @project.todos.each do |todo|
|
|
||||||
# todo.created_at = Time.now
|
|
||||||
# todo.save
|
|
||||||
# end
|
|
||||||
|
|
||||||
redirect_to :action => 'show'
|
redirect_to :action => 'show'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue