Short description and motivation.
How to use my plugin.
Add this line to your application's Gemfile:
gem 'not_found_catcher'
And then execute:
$ bundle
Installazione dell'inizializzatore
bin/rails g not_found_catcher install
After installing go to /not_found_catcher and you will see the administration panel, it's a simple wrapper around the yml file with the configurations. If an error occur of not_found inside the applicaion, the yml file will be populated. You can define simple redirects matching exat the value, or you can use regexp to catch more errors and redirect these to logic redirects:
/category/(.*) => http://example.com?category=$1
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.