Skip to content
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 ...
class MyController < ApplicationController
... specific controller code goes here ...
rkh commented Apr 25, 2012

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

ruprict commented Apr 25, 2012


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.