Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/likes_controller.rb')
-rw-r--r--app/controllers/likes_controller.rb2
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