parndt/refinerycms-i18n — pull request #35 by andreas (2012-04-20 14:50:54+00:00)
Title: Option for disabling url filter

In our refinery-app, we set the locale based on the subdomain, e.g. `de.foobar.com`. Due to SEO, we would prefer a 404 on `foobar.com/de/contact` (potential duplicate content).

This patch adds a new option, `url_filter_enabled`, that disables only the url filter. Usage:

Refinery::I18n.configure do |config|
# other config ...
config.url_filter_enabled = false
end