No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.bundle
vendor/bundle/ruby/2.2.0
.ruby-version
Gemfile
Gemfile.lock
README.md
app.rb
config.ru
orders_controller.rb
users_controller.rb

README.md

multiple-controllers-in-sinatra-application

This is the example to use multiple controllers in a Sinatra application. Please see my blog for more information.

Setup

  • ruby verison: 2.2.2

  • clone the repo:

git clone git@github.com:pingzh/multiple-controllers-in-sinatra-application.git
cd multiple-controllers-in-sinatra-application
  • start the server:
rackup config.ru -p 4567
  • enjoy :)