Sha256: 11d4042eb50cba6ccc949b2a8722b175d1d777755d9e3f6b5ae4296ac78eeb8b

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

class ApplicationController < ActionController::Base
  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :exception

  def render_404
    render :file => Rails.root.join('public', '404.html'), :status => 404
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lockup-1.3.0 spec/dummy/app/controllers/application_controller.rb
lockup-1.2.1 spec/dummy/app/controllers/application_controller.rb
lockup-1.2.0 spec/dummy/app/controllers/application_controller.rb