Sha256: b62433030ce44e8da7dbf92995b2b1b8a5bf70d38a31fe2d2df93c08b5065779
Contents?: true
Size: 262 Bytes
Versions: 1
Compression:
Stored size: 262 Bytes
Contents
class PagesController < ApplicationController def show if @seo_page.nil? || !@seo_page.persisted? unless params[:id].blank? @seo_page = Page.enabled.find(params[:id]) end end if @seo_page.nil? render_404 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rocket_cms-0.1.13 | app/controllers/pages_controller.rb |