Sha256: 7dc06f754454e72a8f4a6bea972a66257f339918ece87fa6f3b17a5bceec92e2
Contents?: true
Size: 551 Bytes
Versions: 38
Compression:
Stored size: 551 Bytes
Contents
class NavigationConfigGenerator < Rails::Generators::Base def self.source_root @source_root ||= File.expand_path(File.join(File.dirname(__FILE__),'..','..','..','generators','navigation_config', 'templates')) end desc 'Creates a template config file for the simple-navigation plugin. You will find the generated file in config/navigation.rb.' def navigation_config copy_file('config/navigation.rb', 'config/navigation.rb') say File.read(File.expand_path(File.join(File.dirname(__FILE__),'..','..','..','README'))) end end
Version data entries
38 entries across 38 versions & 3 rubygems