Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Add Comment
Please, Sign In to add comment