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