Sha256: 9809ca8eabaaf23cace327f575e803258d088c54b2e01563fda0afda27ddd186

Contents?: true

Size: 262 Bytes

Versions: 4

Compression:

Stored size: 262 Bytes

Contents

module Locomotive
  class ErrorsController < ApplicationController

    layout '/locomotive/layouts/error'

    def error_404
      render '404', status: :not_found
    end

    def error_500
      render '500', status: :internal_server_error
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
locomotivecms-3.0.0.rc3 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.0.0.rc2 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.0.0.rc1 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.0.0.pre.beta.1 app/controllers/locomotive/errors_controller.rb