Truncate you urls as much as possible
Works with ruby >= 2.0
gem 'truncator'
And then execute:
$ bundle
Or install it yourself as:
$ gem install truncator
It gives you one method to rule your URIs:
Truncator::UrlParser.shorten_url(uri, truncation_length)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request