Sha256: 71842e6ad55ed16e1675c0df5426411fe89abcb237c1cdac55daabc024fbcc30
Contents?: true
Size: 526 Bytes
Versions: 1
Compression:
Stored size: 526 Bytes
Contents
class ApplicationController < ActionController::Base protect_from_forgery def regular_missing render :if_missing => {:action => :show} end def not_missing render :action => "show", :if_missing => {:action => :index} end def suspend_missing_error render :if_missing => false end def all_missing render :partial => "nano", :if_missing => {:template => "notfound"} end def error_in_regular render :if_missing => {:template => "notfound"} end def nested end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
render_with_missing_template-0.0.3 | spec/dummy/app/controllers/application_controller.rb |