Sha256: 7a4ee787e48a069cb552cefb9c20d1c293d3702f8bfb532652d897276505d943
Contents?: true
Size: 671 Bytes
Versions: 1
Compression:
Stored size: 671 Bytes
Contents
module FixtureApp include ::BangBang::AppConfig def self.app @app ||= Rack::Builder.new do use Rack::Logger use Authentication::Controller run ::FixtureApp::Controller end.to_app end class Controller < ::BangBang::Controller set :dump_errors, false end register_controller Controller class Views < ::BangBang::Views end class Routes < NamedRoutes::Routes end end FixtureApp.init( :application_name => "fixture-app", :root_dir => File.dirname(__FILE__), :named_routes => FixtureApp::Routes, :views_class => FixtureApp::Views ) FixtureApp.register_service("#{File.dirname(__FILE__)}/services/authentication")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bang-bang-0.2.1 | spec/fixture-app/app.rb |