Sha256: fb5230e4b7a9abb75617f97f510e4b9d0ddf4ec54b475f36182c7200846a2da3

Contents?: true

Size: 290 Bytes

Versions: 2

Compression:

Stored size: 290 Bytes

Contents

module GrapeSwaggerRails
  class ApplicationController < ActionController::Base
    before_filter do
      if GrapeSwaggerRails.options.authentication_proc
        instance_exec(request, &GrapeSwaggerRails.options.authentication_proc)
      end
    end
    
    def index
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
grape-swagger-rails-0.0.8 app/controllers/grape_swagger_rails/application_controller.rb
grape-swagger-rails-0.0.7 app/controllers/grape_swagger_rails/application_controller.rb