This repository has been archived by the owner. It is now read-only.

Backward-compatible Rails 4 route mapper compatibility #54

Merged
merged 1 commit into from Jan 28, 2014
Commits on Dec 20, 2013
  1. Backward-compatible Rails 4 route mapper compatibility

    nilbus committed Dec 20, 2013
    There has been discussion in #42 of moving to a rack-based routing
    solution, but that has not been resolved, and Rails 4 is out now.
    This change would also require a major version bump, thus leaving
    1.x incompatible with Rails 4.
    
    This patch adds the required :via option for Rails >= version 4,
    but not for Rails 3, which does not support (nor need) :via.