gdash should require 'sinatra/base' not 'sinatra'
jashmenn opened this issue · 1 comments
jashmenn commented
gdash.rb
should require 'sinatra/base'
not sinatra
otherwise you get the sinatra DSL imported into Object. From the sinatra documentation:
Your file should require sinatra/base instead of sinatra; otherwise, all of Sinatra's DSL methods are imported into the main namespace.
jashmenn commented
Sorry, I'll change this to a pull request.