Sha256: 357ec6125c61a54e6b1e49566f3f91fe767619f906093d89d0e1661ec2a6a08c
Contents?: true
Size: 527 Bytes
Versions: 6
Compression:
Stored size: 527 Bytes
Contents
class PagesController < ApplicationController respond_to :html, :js, :only => :about def readme @readme = IO.read(File.expand_path("../../../../../README.md",__FILE__)) respond_to do |format| format.html ajax_respond format, :section_id => "global", :render => {:file => "pages/readme", :layout => "ajax"} end end def about end def welcome respond_to do |format| format.html ajax_respond format, :section_id => "global", :render => { :layout => "ajax" } end end end
Version data entries
6 entries across 6 versions & 1 rubygems