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

This comment has been minimized.

Show comment Hide comment
@rkh

rkh Apr 25, 2012

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

rkh commented Apr 25, 2012

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

@ruprict

This comment has been minimized.

Show comment Hide comment
@ruprict

ruprict Apr 25, 2012

Thanks!

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