Class: Fastui::MViewsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Fastui::MViewsController
- Defined in:
- app/controllers/fastui/m_views_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#index ⇒ Object
6 7 8 9 10 11 |
# File 'app/controllers/fastui/m_views_controller.rb', line 6 def index @window = Fastui::Window.find(params[:name]) #respond_with(@window.to_json(root: false,:include => { :tabs => {root:false}})) respond_with(@window.to_json()) end |
#show ⇒ Object
13 14 15 16 |
# File 'app/controllers/fastui/m_views_controller.rb', line 13 def show @window = Fastui::Window.find(params[:id]) respond_with(@window.to_json()) end |