Sha256: 2fbe8fdd51c7a97a883b62a9b7e47d7220a7a9eecd39c21134eb63646c93ffc6

Contents?: true

Size: 274 Bytes

Versions: 5

Compression:

Stored size: 274 Bytes

Contents

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

    def index
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
grape-swagger-rails-0.2.2 app/controllers/grape_swagger_rails/application_controller.rb
grape-swagger-rails-0.2.1 app/controllers/grape_swagger_rails/application_controller.rb
grape-swagger-rails-0.2.0 app/controllers/grape_swagger_rails/application_controller.rb
grape-swagger-rails-0.1.0 app/controllers/grape_swagger_rails/application_controller.rb
grape-swagger-rails-0.0.10 app/controllers/grape_swagger_rails/application_controller.rb