Created
November 7, 2012 21:31
-
-
Save NobbZ/4034628 to your computer and use it in GitHub Desktop.
Configuring with Padrino
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 "yaml" | |
| class DvFa < Padrino::Application | |
| register ScssInitializer | |
| use ActiveRecord::ConnectionAdapters::ConnectionManagement | |
| register Padrino::Rendering | |
| register Padrino::Mailer | |
| register Padrino::Helpers | |
| enable :sessions | |
| def initialize(*) | |
| super | |
| @myconf = YAML.load_file("config/config.yml") | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment