Sha256: c1e542712587c3301a917daf9f383fc69ab871cf078e9ca71be94fdc83a360e3

Contents?: true

Size: 403 Bytes

Versions: 6

Compression:

Stored size: 403 Bytes

Contents

module Ecm
  module CmsCore
    module Generators
      class ControllerGenerator < Rails::Generators::Base
        desc "Generates the pages controller"
             
        source_root File.expand_path('../templates', __FILE__)
      
        def generate_controller
          copy_file "page_controller.rb", "app/controllers/page_controller.rb"
        end      
      end
    end
  end
end        

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecm_cms_core-0.0.8 lib/generators/ecm/cms_core/controller/controller_generator.rb
ecm_cms_core-0.0.7 lib/generators/ecm/cms_core/controller/controller_generator.rb
ecm_cms_core-0.0.6 lib/generators/ecm/cms_core/controller/controller_generator.rb
ecm_cms_core-0.0.5 lib/generators/ecm/cms_core/controller/controller_generator.rb
ecm_cms_core-0.0.3 lib/generators/ecm/cms_core/controller/controller_generator.rb
ecm_cms_core-0.0.2 lib/generators/ecm/cms_core/controller/controller_generator.rb