FIX: broken and uneeded code
This commit is contained in:
parent
271374a8c6
commit
7d5c0ae28e
|
@ -37,8 +37,6 @@ class PostsController < ApplicationController
|
||||||
user = User.find(params[:user_id].to_i)
|
user = User.find(params[:user_id].to_i)
|
||||||
request['u'] = user.username_lower if user
|
request['u'] = user.username_lower if user
|
||||||
end
|
end
|
||||||
IncomingLink.add(request, current_user)
|
|
||||||
|
|
||||||
redirect_to post.url
|
redirect_to post.url
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue