Change the way the orig_url is passed to fb
This commit is contained in:
1 parent
4bed925e0f
commit
6cfdf0f25a
3 files changed
+3
-3
No files matched your search
@@ -110,7 +110,7 @@ class ApplicationController < ActionController::Base
|
||||
def render_share
|
||||
object_class = params[:model].classify.constantize
|
||||
@object = object_class.find(params[:id])
|
||||
@orig_url = params[:orig_url]
|
||||
@orig_url = "http://#{params[:orig_host]}/#{params[:orig_path]}"
|
||||
render 'shared/render_share', :layout => false
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user