class KmsSeo::InstallGenerator
Public Instance Methods
insert_engine_routes()
click to toggle source
# File lib/generators/kms_seo/install/install_generator.rb, line 6 def insert_engine_routes route %( mount Kms::Seo::Engine => '/kms' ) end
insert_javascript()
click to toggle source
# File lib/generators/kms_seo/install/install_generator.rb, line 12 def insert_javascript append_file "app/assets/javascripts/application.js", "//= require kms_seo/application\n" end
remove_robots_txt()
click to toggle source
# File lib/generators/kms_seo/install/install_generator.rb, line 16 def remove_robots_txt remove_file 'public/robots.txt' end