diff options
Diffstat (limited to 'app/controllers/likes_controller.rb')
-rw-r--r-- | app/controllers/likes_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/likes_controller.rb b/app/controllers/likes_controller.rb index 696a0ba3c..4b5d2039c 100644 --- a/app/controllers/likes_controller.rb +++ b/app/controllers/likes_controller.rb @@ -21,7 +21,7 @@ class LikesController < ApplicationController respond_to do |format| format.js { render :status => 201 } format.html { render :nothing => true, :status => 201 } - format.mobile { redirect_to status_message_path(@like.post_id) } + format.mobile { redirect_to post_path(@like.post_id) } end else render :nothing => true, :status => 422 |