Sha256: 884b1de0c5ff8aacb4788b35ee057f67803b51f371263ab098cfd3e2a5c4736d
Contents?: true
Size: 363 Bytes
Versions: 28
Compression:
Stored size: 363 Bytes
Contents
class Site::SiteController < ApplicationController include Pageable rescue_from ActiveRecord::RecordNotFound, :with => :render_404 authorize :scope => "site", :resourceful => false page :home, "/" do end private def render_404 render :file => Rails.root.join("public", "404.html"), :layout => false, :status => :not_found end end
Version data entries
28 entries across 28 versions & 1 rubygems