Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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 commented Apr 25, 2012

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

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