Class: CouchRest::ModelRailtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/couchrest/railtie.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) generator



6
7
8
# File 'lib/couchrest/railtie.rb', line 6

def self.generator
  config.respond_to?(:app_generators) ? :app_generators : :generators
end