Class: SeoOptimizer::FastConfigGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SeoOptimizer::FastConfigGenerator
- Defined in:
- lib/generators/seo_optimizer/fast_config/fast_config_generator.rb
Instance Method Summary collapse
Instance Method Details
#call_commands ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/generators/seo_optimizer/fast_config/fast_config_generator.rb', line 11 def call_commands generate 'seo_optimizer:meta_tags' generate 'seo_optimizer:errors_pages' generate 'seo_optimizer:setups' generate 'seo_optimizer:robots_files' rake 'sitemap:generate' return unless [:pse] puts 'Ping search engines.' rake 'sitemap:ping_search_engines' end |