Revert r16046.

DO NOT COMMIT MAJOR ENHANCEMENTS TO TRUNK WITHOUT TALKING TO ME FIRST.
This commit is contained in:
Tom Hughes 2009-06-23 02:48:38 +00:00
parent 7551e8a0c1
commit f4571eeb7c
85 changed files with 9 additions and 3278 deletions

View file

@ -1,8 +1,6 @@
# Update and read user preferences, which are arbitrayr key/val pairs
class UserPreferenceController < ApplicationController
before_filter :authorize
before_filter :require_allow_read_prefs, :only => [:read_one, :read]
before_filter :require_allow_write_prefs, :except => [:read_one, :read]
def read_one
pref = UserPreference.find(@user.id, params[:preference_key])