Sha256: 60e1b4fb2a9c5a97bd149fa86e899bbfdc3932b59d82adef02dc629eb665f7e4
Contents?: true
Size: 485 Bytes
Versions: 6
Compression:
Stored size: 485 Bytes
Contents
require_dependency "fastui/application_controller" module Fastui class MViewsController < ApplicationController respond_to :html, :xml, :json 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 def show @window = Fastui::Window.find(params[:id]) respond_with(@window.to_json()) end end end
Version data entries
6 entries across 6 versions & 1 rubygems