Sha256: b8c7915d501b91f9bf52f57374e3fd5ecbb6edfc84d93f917e59d198210307db
Contents?: true
Size: 560 Bytes
Versions: 16
Compression:
Stored size: 560 Bytes
Contents
class << Rails def vendor_rails? false end end Rails::Initializer.run do |config| config.frameworks = [ :action_controller ] config.action_controller.session = { :key=>"_myapp_session", :secret=>"Stay hungry. Stay foolish. -- Steve Jobs" } config.after_initialize do config.oauth.database = DATABASE config.oauth.host = "example.org" config.oauth.authenticator = lambda do |username, password| "Batman" if username == "cowbell" && password == "more" end end config.middleware.use Rack::OAuth2::Server::Admin.mount end
Version data entries
16 entries across 16 versions & 2 rubygems