Sha256: 4417a96a6c333c0942583b02183c375d982b527d38c25859ea29866f0157f4fb
Contents?: true
Size: 280 Bytes
Versions: 2
Compression:
Stored size: 280 Bytes
Contents
module Omnigrid class WireframesController < ApplicationController layout :pick_layout def index #render :inline => "hello" end private def pick_layout params[:layout] ? "omnigrid/#{params[:layout]}" : "omnigrid/application" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omnigrid-0.0.2 | app/controllers/omnigrid/wireframes_controller.rb |
omnigrid-0.0.1 | app/controllers/omnigrid/wireframes_controller.rb |