Updated README.
This commit is contained in:
parent
220ee016d8
commit
d2f2c2ed19
|
@ -122,10 +122,14 @@ In order to use include the following in a Sinatra application:
|
||||||
|
|
||||||
Or, if subclassing `Sinatra::Base`, include helpers manually:
|
Or, if subclassing `Sinatra::Base`, include helpers manually:
|
||||||
|
|
||||||
|
gem 'emk-sinatra-url-for'
|
||||||
|
require 'sinatra/url_for'
|
||||||
|
|
||||||
gem 'wbzyl-sinatra-static-assets'
|
gem 'wbzyl-sinatra-static-assets'
|
||||||
require 'sinatra/static_assets'
|
require 'sinatra/static_assets'
|
||||||
|
|
||||||
class Summer < Sinatra::Base
|
class Summer < Sinatra::Base
|
||||||
|
helpers Sinatra::UrlForHelper
|
||||||
helpers Sinatra::StaticAssets
|
helpers Sinatra::StaticAssets
|
||||||
# ...
|
# ...
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue