show tags for tag subscriptions in post listing

This commit is contained in:
albert
2013-02-18 20:18:21 -05:00
parent a62fadd0ae
commit 02360c53c7
4 changed files with 17 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ class TagSubscriptionsController < ApplicationController
@tag_subscription = TagSubscription.find(params[:id])
check_privilege(@tag_subscription)
@tag_subscription.update_attributes(params[:tag_subscription])
respond_with(@tag_subscription)
respond_with(@tag_subscription, :location => tag_subscriptions_path)
end
def destroy