This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-03-06 08:41:06 +00:00
|
|
|
class OrbitWidgetController< OrbitFrontendComponentController
|
2012-12-28 07:30:46 +00:00
|
|
|
before_filter :get_wiget_options
|
2012-02-15 10:20:44 +00:00
|
|
|
|
2012-12-28 07:30:46 +00:00
|
|
|
def get_wiget_options
|
|
|
|
@wiget_options = {}
|
|
|
|
if params[:widget_options]
|
|
|
|
@wiget_options = (eval('{'+ params[:widget_options] +'}') rescue {})
|
|
|
|
end
|
|
|
|
end
|
2012-02-15 10:20:44 +00:00
|
|
|
end
|