Last active
June 3, 2017 05:57
-
-
Save sushant12/caf5785a32f04ec6e227482ea9319fdb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'bundler/setup' | |
Bundler.require(:default) | |
require_relative 'lib/todo' | |
require_relative 'app/controllers/tasks_controller' | |
require_relative 'app/models/task' | |
use Rack::Static, root: 'public', urls: ['/images', '/js', '/css'] | |
use Rack::ContentLength | |
use Rack::Reloader, 0 | |
use Todo::Router | |
run Todo::Application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment