Skip to content

Instantly share code, notes, and snippets.

@ruprict
Created April 22, 2012 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruprict/2464167 to your computer and use it in GitHub Desktop.
Save ruprict/2464167 to your computer and use it in GitHub Desktop.
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
Copy link

rkh commented Apr 25, 2012

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

@ruprict
Copy link
Author

ruprict commented Apr 25, 2012

Thanks!

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