Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make preferences an engine so it loads models in app/models

  • Loading branch information...
commit fc207ee06340f9760f8f258daa8f6b445941377b 1 parent b7756d1
@jackdempsey authored
Showing with 5 additions and 0 deletions.
  1. +1 −0  lib/preferences.rb
  2. +4 −0 lib/preferences/engine.rb
View
1  lib/preferences.rb
@@ -1,3 +1,4 @@
+require 'preferences/engine'
require 'preferences/preference_definition'
# Adds support for defining preferences on ActiveRecord models.
View
4 lib/preferences/engine.rb
@@ -0,0 +1,4 @@
+module Preferences
+ class Engine < Rails::Engine
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.