Revert r16046.
DO NOT COMMIT MAJOR ENHANCEMENTS TO TRUNK WITHOUT TALKING TO ME FIRST.
This commit is contained in:
parent
7551e8a0c1
commit
f4571eeb7c
85 changed files with 9 additions and 3278 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue