Sha256: f0a0345310539d8fe8b448a18c56c77965256737e93c29710041db20dbfe15da
Contents?: true
Size: 501 Bytes
Versions: 32
Compression:
Stored size: 501 Bytes
Contents
if Facebooker.facebooker_config['pretty_errors'] || (Facebooker.facebooker_config['pretty_errors'].nil? && RAILS_ENV=="development") class ActionController::Base def rescues_path_with_facebooker(template_name) t="#{RAILS_ROOT}/vendor/plugins/facebooker/templates/#{template_name}.erb" File.exist?(t) ? t : rescues_path_without_facebooker(template_name) end alias_method_chain :rescues_path,:facebooker def response_code_for_rescue(exception) 200 end end end
Version data entries
32 entries across 32 versions & 8 rubygems