Created
April 21, 2011 06:11
-
-
Save brianmario/933830 to your computer and use it in GitHub Desktop.
minimal rails3 app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# minimal rails3 app | |
require 'action_controller' | |
Router = ActionDispatch::Routing::RouteSet.new | |
Router.draw do | |
root :to => 'site#index' | |
end | |
class SiteController < ActionController::Metal | |
def index | |
self.response_body = "waddup son" | |
end | |
end | |
run Router |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Brian, Looks great!