thoughtbot/high_voltage — pull request #38 by twe4ked (2012-07-06 05:51:34+00:00)
Title: Fallback to index

This is actually work originally done by @ludicast but I've added a config option so you don't have to have the functionality.

Use the following in an initializer to turn the option on.

```ruby
HighVoltage.setup do |config|
config.fallback_to_index_pages = true
end
```

From pull #27 by @ludicast.

> To help with breadcrumbs etc., I added an option for index pages. Say you visit e.g.
>
> /pages/my_category
>
> If high_voltage fails to locate the my_category.html view, the controller will also check:
>
> /app/views/pages/my_category/index.html.erb