Star toggling and todo checking working

Todo unchecking is still buggy, but needs a bunch more work to make it happen.

Also added some useful globals to the standard layout for later access by application.js.
This commit is contained in:
Eric Allen 2009-09-05 15:21:42 -04:00
parent 4c68144c93
commit f9e6540ed2
8 changed files with 67 additions and 51 deletions

View file

@ -27,6 +27,7 @@ class ApplicationController < ActionController::Base
helper_method :current_user, :prefs
layout proc{ |controller| controller.mobile? ? "mobile" : "standard" }
exempt_from_layout /\.js\.erb$/
before_filter :set_session_expiration
before_filter :set_time_zone