Sha256: bf3a3f09acee883d73c058cff225dd46c359a7efbb87fcf09d5734d2827259dc

Contents?: true

Size: 330 Bytes

Versions: 14

Compression:

Stored size: 330 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

    def no_site
      render 'no_site', status: :not_found
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
locomotivecms-3.1.2 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.2.0.rc2 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.2.0.rc1 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.1.1 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.1.0 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.1.0.rc3 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.1.0.rc2 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.1.0.rc1 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.0.1 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.0.0 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.0.0.rc7 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.0.0.rc6 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.0.0.rc5 app/controllers/locomotive/errors_controller.rb
locomotivecms-3.0.0.rc4 app/controllers/locomotive/errors_controller.rb