Sha256: 3afb8045fbe1d82bb09b9d94d1586a697cfb03f11f186633e1ab1dba38cbbeae
Contents?: true
Size: 204 Bytes
Versions: 16
Compression:
Stored size: 204 Bytes
Contents
class CMS::PagesController < ApplicationController def show @page = CMS::Configuration.pages.find{|p| p.name == params[:page]} end def static_page render "pages/#{params[:page]}" end end
Version data entries
16 entries across 16 versions & 1 rubygems