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/desktop_appstore_controller.rb

16 lines
300 B
Ruby
Raw Normal View History

class DesktopAppstoreController< ApplicationController
def appstore
render "desktop/appstore", :layout => false
end
def widgets
render "desktop/appstore/widgets", :layout => false
end
2012-05-07 11:00:50 +00:00
def getuserwidgets
@widgets = current_user.desktop_widgets
render :json=>@widgets.to_json
end
end