Sha256: cf4132046ac9c54527c79a244a616527abf70f1381d559f73f2191152904efa4
Contents?: true
Size: 443 Bytes
Versions: 14
Compression:
Stored size: 443 Bytes
Contents
require_dependency "simplec/application_controller" require_dependency "simplec/page_action_helpers" module Simplec class PagesController < ApplicationController def show begin render_path params[:path] || '' rescue ActiveRecord::SubclassNotFound => e # TODO add proc config for error notification, airbrake, etc # Rails.logger.info e render status: 404 end end end end
Version data entries
14 entries across 14 versions & 1 rubygems