Sha256: 178ad0f01f29b3f54222ec631a284279ff42a1884ffd1ae5d7086da05a0efc49

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

module Noa
  module Core
    # Every controller under Noa namespace must inherit this BaseController
    class BaseController < ::ApplicationController
      rescue_from ActiveRecord::RecordNotFound do |exception|
        render_not_found
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noa-core-0.0.2 app/controllers/noa/core/base_controller.rb