diff --git a/app/controllers/koudoku/subscriptions_controller.rb b/app/controllers/koudoku/subscriptions_controller.rb index ebf4dde..8787fdf 100644 --- a/app/controllers/koudoku/subscriptions_controller.rb +++ b/app/controllers/koudoku/subscriptions_controller.rb @@ -152,7 +152,7 @@ def edit end def update - if @subscription.update_attributes(subscription_params) + if @subscription.update(subscription_params) flash[:notice] = I18n.t('koudoku.confirmations.subscription_updated') redirect_to owner_subscription_path(@owner, @subscription) else