Sha256: 21e37930585042d60f245f588e001cfe262d9fd007732ed0e29e61af50bca646

Contents?: true

Size: 339 Bytes

Versions: 21

Compression:

Stored size: 339 Bytes

Contents

require 'dashing'

configure do
  set :auth_token, 'YOUR_AUTH_TOKEN'

  helpers do
    def protected!
     # Put any authentication code you want in here.
     # This method is run before accessing any resource.
    end
  end
end

map Sinatra::Application.assets_prefix do
  run Sinatra::Application.sprockets
end

run Sinatra::Application

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
baseboard-1.0.2 templates/project/config.ru
baseboard-1.0.1 templates/project/config.ru
dashing-jruby-1.3.4.1 templates/project/config.ru
dashing-jruby-1.3.4 templates/project/config.ru
dashing-1.3.4 templates/project/config.ru
dashing-1.3.3 templates/project/config.ru
dashing-beanstalk-1.3.2 templates/project/config.ru
dashing-1.3.2 templates/project/config.ru
dashing-1.3.1 templates/project/config.ru
dashing-1.3.0 templates/project/config.ru
dashing-1.2.0 templates/project/config.ru
dashing-1.1.0 templates/project/config.ru
dashing-1.0.6 templates/project/config.ru
dashing-1.0.5 templates/project/config.ru
dashing-1.0.4 templates/project/config.ru
dashing-1.0.3 templates/project/config.ru
dashing-1.0.2 templates/project/config.ru
dashing-1.0.1 templates/project/config.ru
dashing-1.0 templates/project/config.ru
dashing-0.1.2 templates/project/config.ru