lib/ripple/railtie.rb in ripple-0.8.0.beta2 vs lib/ripple/railtie.rb in ripple-0.8.0
- old
+ new
@@ -12,9 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
require 'ripple'
module Ripple
+ # Railtie for automatic initialization of the Ripple framework
+ # during Rails initialization.
class Railtie < Rails::Railtie
initializer "ripple.configure_rails_initialization" do
Ripple.load_configuration Rails.root.join('config', 'ripple.yml'), [Rails.env]
end
end