debian-mirror-gitlab/debian/gems-compat/apollo-upload-server-2.0.0.beta.3/lib/apollo_upload_server/railtie.rb

10 lines
221 B
Ruby
Raw Normal View History

2019-08-03 11:04:32 +05:30
require 'apollo_upload_server/middleware'
module ApolloUploadServer
class Railtie < Rails::Railtie
initializer 'apollo_upload_server.apply_middleware' do |app|
app.middleware.use Middleware
end
end
end