Sha256: 9f95abc7730830dbe1a21aa4bfbdb0ca44ae8bfcf0a3fb007099225d7ff1e1a1

Contents?: true

Size: 399 Bytes

Versions: 9

Compression:

Stored size: 399 Bytes

Contents

module Ecm
  module CmsNavigation
    module Generators
      class NavigationGenerator < Rails::Generators::Base
        desc "Generates the navigation.rb file"
             
        source_root File.expand_path('../templates', __FILE__)
      
        def generate_navigation
          copy_file "navigation.rb", "config/navigation.rb"
        end             
      end
    end
  end
end        

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ecm_cms_navigation-0.0.13 lib/generators/ecm/cms_navigation/navigation/navigation_generator.rb
ecm_cms_navigation-0.0.12 lib/generators/ecm/cms_navigation/navigation/navigation_generator.rb
ecm_cms_navigation-0.0.11 lib/generators/ecm/cms_navigation/navigation/navigation_generator.rb
ecm_cms_navigation-0.0.10 lib/generators/ecm/cms_navigation/navigation/navigation_generator.rb
ecm_cms_navigation-0.0.9 lib/generators/ecm/cms_navigation/navigation/navigation_generator.rb
ecm_cms_navigation-0.0.8 lib/generators/ecm/cms_navigation/navigation/navigation_generator.rb
ecm_cms_navigation-0.0.6 lib/generators/ecm/cms_navigation/navigation/navigation_generator.rb
ecm_cms_navigation-0.0.5 lib/generators/ecm/cms_navigation/navigation/navigation_generator.rb
ecm_cms_navigation-0.0.4 lib/generators/ecm/cms_navigation/navigation/navigation_generator.rb