Created
March 12, 2010 10:17
-
-
Save wycats/330207 to your computer and use it in GitHub Desktop.
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 characters
require ".bundle/environment" | |
Bundler.setup | |
require "action_controller/railtie" | |
class FooController < ActionController::Base | |
def bar | |
self.response_body = "HELLO" | |
end | |
end | |
class MyApp < Rails::Application | |
config.session_store :disabled | |
routes.draw do | |
match "/foo" => "foo#bar" | |
end | |
end | |
run MyApp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment