Class: ThemesForRails::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/themes_for_rails/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#add_themes_for_rails_routesObject



10
11
12
# File 'lib/generators/themes_for_rails/install_generator.rb', line 10

def add_themes_for_rails_routes
  route "themes_for_rails"
end

#create_themes_folderObject



6
7
8
# File 'lib/generators/themes_for_rails/install_generator.rb', line 6

def create_themes_folder
  empty_directory(ThemesForRails.config.themes_path)
end