Removed conditional statements and following the DRY concept.
This commit is contained in:
parent
aad703c297
commit
14f4097a7b
|
@ -3,7 +3,7 @@ require "rails"
|
||||||
|
|
||||||
module Impressionist
|
module Impressionist
|
||||||
class Engine < Rails::Engine
|
class Engine < Rails::Engine
|
||||||
attr_accessor :orm
|
attr_accessor :orm
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
define_orm_type(Impressionist.orm)
|
define_orm_type(Impressionist.orm)
|
||||||
|
|
Loading…
Reference in New Issue