mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-03 11:30:15 +01:00
* Upgraded to use Rails 0.10.0
* Changed require of Redcloth to favour gem version of version 3.0.3 or greater * Changed the way that URLs are generated for stylesheets and javascripts by using AssetTagHelper git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@28 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
2f182327e8
commit
de31b57852
23 changed files with 804 additions and 185 deletions
|
|
@ -2,8 +2,6 @@
|
|||
# Likewise will all the methods added be available for all controllers.
|
||||
|
||||
require_dependency "login_system"
|
||||
require_dependency "redcloth"
|
||||
# require_dependency "iCal"
|
||||
require 'date'
|
||||
|
||||
$delete_img = "<img src=\"/images/delete.png\" width=\"10\" height=\"10\" border=\"0\" />"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ class TodoController < ApplicationController
|
|||
|
||||
# List the completed tasks, sorted by completion date
|
||||
#
|
||||
# Use days declaration? 1.day.ago?
|
||||
def completed
|
||||
@page_title = "Completed tasks"
|
||||
today_query = "DATE_SUB(CURDATE(),INTERVAL 1 DAY) <= completed"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue