reload user's tag filters after modifying, before showing again

This commit is contained in:
joshua stein 2012-08-14 13:40:37 -05:00
parent 9a51d7d1f8
commit 342ede4d4c

View file

@ -2,7 +2,7 @@ class FiltersController < ApplicationController
before_filter :require_logged_in_user
def index
@filtered_tags = @user.tag_filters
@filtered_tags = @user.tag_filters.reload
render :action => "index"
end