-
-
Save danielvlopes/937730 to your computer and use it in GitHub Desktop.
Revisions
-
brianmario revised this gist
Apr 21, 2011 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # minimal rails3 app require 'action_controller' Router = ActionDispatch::Routing::RouteSet.new -
brianmario revised this gist
Apr 21, 2011 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ require 'action_controller' Router = ActionDispatch::Routing::RouteSet.new -
brianmario created this gist
Apr 21, 2011 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ require 'action_dispatch' 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