Sha256: de3a6503f64fb22ede6fecd5402ca10f1bca8d38c54854c552f5403bdefeb1ff

Contents?: true

Size: 199 Bytes

Versions: 1

Compression:

Stored size: 199 Bytes

Contents

module Org
  module Controller::Our
    extend ActiveSupport::Concern

    def require_organ
      return if current_organ

      raise ActionController::RoutingError, 'Not Found'
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_org-0.0.1 app/controllers/org/controller/our.rb