mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +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
|
||||
|
||||
def set_reviewed
|
||||
#@source_view = 'project'
|
||||
@project = current_user.projects.find(params[:id])
|
||||
@project.last_reviewed = Time.now
|
||||
@project.save
|
||||
|
||||
# @project.todos.each do |todo|
|
||||
# todo.created_at = Time.now
|
||||
# todo.save
|
||||
# end
|
||||
|
||||
redirect_to :action => 'show'
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue