What do you think about something like this:

```ruby
  def c.match_example_group_by_path(path)
    lambda { |example_group, metadata|
      metadata[:type].nil? && escaped_path(path) =~ example_group[:file_path]
    }
  end

  c.include RSpec::Rails::ControllerExampleGroup,
    :type          => :controller,
    :example_group => c.match_example_group_by_path(%w[spec controllers])
```