Sha256: 56b63315b9457f9dd393038b4e792c7c929b3a3b5fa380a8c77c8241b9daa6cd

Contents?: true

Size: 629 Bytes

Versions: 3

Compression:

Stored size: 629 Bytes

Contents

# require 'experimental/modules_in_render_hierarchy'

this = File.dirname __FILE__

require File.join(this, '/lib/view_models')
require File.join(this, '/../shared/init')
require File.join(this, '/lib/view_models/base')
require File.join(this, '/lib/view_models/view')

require File.join(this, '/lib/helpers/view')
require File.join(this, '/lib/helpers/collection')

# TODO How was the view models generator included?
#
# require File.join(this, '/generators/view_models/view_models_generator')

ActionController::Base.send :include, ViewModels::Helpers::Mapping
ActionView::Base.send       :include, ViewModels::Helpers::Mapping

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
view_models-2.0.1 lib/rails2/init.rb
view_models-2.0.0.ruby19 lib/rails2/init.rb
view_models-2.0.0 lib/rails2/init.rb