Created
October 8, 2009 06:36
-
-
Save carllerche/204812 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
class Rails::Application | |
initializer :require_frameworks do | |
require "action_pack" | |
end | |
end | |
class Rails::Application::Sinatra | |
initializer :load_in_file_templates do | |
# Go through app code files and check for templates | |
end | |
end | |
class MyApp1 < Rails::Application | |
initializer :omg do | |
puts "OMG" | |
end | |
end | |
class MyApp2 < Rails::Application::Sinatra | |
initializer :hi2u do | |
puts "HI2U" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment