Try fb from override and generated page
This commit is contained in:
1 parent
acf4446523
commit
4bed925e0f
6 files changed
+79
-3
No files matched your search
@@ -106,6 +106,13 @@ class ApplicationController < ActionController::Base
|
||||
render :text => '404 Not Found'
|
||||
end
|
||||
end
|
||||
|
||||
def render_share
|
||||
object_class = params[:model].classify.constantize
|
||||
@object = object_class.find(params[:id])
|
||||
@orig_url = params[:orig_url]
|
||||
render 'shared/render_share', :layout => false
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
|
||||
Reference in new issue
Block a user