Skip to content

Instantly share code, notes, and snippets.

@ezmobius
Created August 10, 2008 07:43
Show Gist options
  • Save ezmobius/4734 to your computer and use it in GitHub Desktop.
Save ezmobius/4734 to your computer and use it in GitHub Desktop.
if !Merb::Controller._subclasses.include?(cnt)
raise Merb::ControllerExceptions::NotFound, "Controller '#{cnt}' not found"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment