Fix frontend
This commit is contained in:
parent
61526676c5
commit
6f49d55c43
|
@ -9,8 +9,8 @@ class WebResourcesController < ApplicationController
|
|||
}
|
||||
end
|
||||
{
|
||||
"data" => web_link,
|
||||
"extras" => {"widget-title"=>"Web Resource"}
|
||||
"web_link" => web_link,
|
||||
"extras" => {"widget-title"=>t(:web_resource)}
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -23,8 +23,8 @@ class WebResourcesController < ApplicationController
|
|||
}
|
||||
end
|
||||
{
|
||||
"data" => web_link,
|
||||
"extras" => {"widget-title"=>"Web Resource"}
|
||||
"web_link" => web_link,
|
||||
"extras" => {"widget-title"=>t(:web_resource),"more_url" => OrbitHelper.widget_more_url}
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ module WebResource
|
|||
base_url File.expand_path File.dirname(__FILE__)
|
||||
|
||||
taggable "WebLink"
|
||||
widget_methods ["widget"]
|
||||
categorizable
|
||||
authorizable
|
||||
frontend_enabled
|
||||
|
|
Loading…
Reference in New Issue