diff --git a/app/controllers/favorites_controller.rb b/app/controllers/favorites_controller.rb index e794c0094..09e0ebf65 100644 --- a/app/controllers/favorites_controller.rb +++ b/app/controllers/favorites_controller.rb @@ -29,6 +29,7 @@ class FavoritesController < ApplicationController format.html do redirect_to(mobile_post_path(@post)) end + format.js end end @@ -40,6 +41,7 @@ class FavoritesController < ApplicationController format.html do redirect_to(mobile_post_path(@post)) end + format.js end end end