README.md in human_power-0.0.1 vs README.md in human_power-0.0.2
- old
+ new
@@ -18,11 +18,11 @@
Or install it yourself:
$ gem install human_power
-If you are using Rails, you can add a sample *config/robots.rb* configuration file:
+If you are using Rails, you can add a sample *config/robots.rb* configuration file and route for `/robots.txt`:
$ rails g human_power:install
It will allow crawlers to access to the whole site by default.
@@ -62,9 +62,13 @@
# You have access to everything from your ApplicationController
if request.subdomains.first == "api"
disallow :all
end
+
+# Add one or more sitemaps
+sitemap sitemap_url
+sitemap one_url, two_url
```
## Caveats
Human Power is great for adding rules to your robots.txt.