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.
orbit-4-1/app/controllers/orbit_widget_controller.rb

10 lines
267 B
Ruby
Raw Normal View History

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-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
end