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
rkh commented Apr 25, 2012

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

@ruprict
Owner
ruprict commented Apr 25, 2012

Thanks!

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