Sha256: 98f16f5bd2f43d1a9eaa7bea680551afd3f8e5db0d2fa8ff1def94443ecd374e
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 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_pagination format, :pagination => :menu, :render => {:file => "pages/readme"} end end def about end def welcome respond_to do |format| format.html ajax_pagination format, :pagination => :menu end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ajax_pagination-0.2.0 | spec/rails_app/app/controllers/pages_controller.rb |