Create a gist now

Instantly share code, notes, and snippets.

DAZ Sinatra Book REview
require 'sinatra/base'
class ApplicationController < Sinatra::Base
... general controller code goes here ...
end
class MyController < ApplicationController
... specific controller code goes here ...
end
@rkh

Constants have to be capitalized (myController -> MyController).

@ruprict
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment