Skip to content

Instantly share code, notes, and snippets.

@carllerche
Created October 8, 2009 06:36
Show Gist options
  • Save carllerche/204812 to your computer and use it in GitHub Desktop.
Save carllerche/204812 to your computer and use it in GitHub Desktop.
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