Sha256: 76ef547d80100da8f98dc112df1b7ca08e0ccc40d8807129be323d3e994614ac
Contents?: true
Size: 347 Bytes
Versions: 2
Compression:
Stored size: 347 Bytes
Contents
require 'rails/generators/erb/controller/controller_generator' module Fortitude module Generators class BaseViewGenerator < ::Rails::Generators::Base source_root File.join(File.dirname(__FILE__), 'templates') def create_view_base template "views_base.rb", 'app/views/base.rb', :skip => true end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fortitude-0.9.6-java | lib/rails/generators/fortitude/base_view/base_view_generator.rb |
fortitude-0.9.6 | lib/rails/generators/fortitude/base_view/base_view_generator.rb |