Skip to content
Commits on Aug 10, 2012
  1. @mdimas

    use a more exact regular expression for subdomain constraints so that…

    mdimas committed
    … globalhealth.change.org doesn't match the constraint for health.change.org
Commits on Apr 23, 2012
  1. @jimmycuadra

    Merge pull request #1 from change/badurl

    jimmycuadra committed
    Transform bad URLs into ActionController::RoutingError
Commits on Mar 30, 2012
  1. Transform bad URLs into ActionController::RoutingError rather than le…

    Kyle VanderBeek committed
    …tting the URI::InvalidURIError reach the top unhandled.
    
    If you're using subrails and doing a param-based redirect from '/foo/view/:id" to "/foo/:id", sometimes people will suck when linking to you and include errant characters such as "/foo/view/1234<".  Right now this results in a URI error right in the routes on the '<'.  Instead of this, transform it to a routing error and thus a 404.  A 404 is more useful than a server error for people that suck at linking.
Commits on Nov 2, 2011
  1. @deadlyicon

    removed the ActionController::UrlOptionsWithoutSubdomain patch since …

    deadlyicon committed
    …it no longer appears to be needed
Commits on Oct 29, 2011
  1. @deadlyicon

    added default_params to rspec controller tests to make testing contro…

    deadlyicon committed
    …llers routes to via subdomains easier
  2. @deadlyicon

    stopped deleting :subdomain after updating the host so it would stop …

    deadlyicon committed
    …breaking url_for for routes with a :subdomain constraint
Commits on Oct 21, 2011
  1. fixed a bug in ActionController::Base; refactored everything into one…

    Jared Grippe committed with Jared Grippe
    … file
Commits on Oct 20, 2011
  1. more updates to the readme

    Jared Grippe and Mark Dimas committed with Jared Grippe
  2. updated the readme

    Jared Grippe and Mark Dimas committed with Jared Grippe
  3. removed redirect_to_subdomain and added :subdomain option to redirect

    Jared Grippe and Mark Dimas committed with Jared Grippe
  4. added defaults(:subdomain => …) to the subdomain helper

    Jared Grippe and Mark Dimas committed with Jared Grippe
Commits on Oct 19, 2011
  1. @deadlyicon

    version bump

    deadlyicon committed
  2. @deadlyicon
  3. version bump

    Jared Grippe committed with Jared Grippe
  4. added require for uri-subdomain

    Jared Grippe committed with Jared Grippe
  5. version bump

    Jared Grippe committed with Jared Grippe
  6. moved from reqexp to lambda

    Jared Grippe committed with Jared Grippe
Commits on Oct 18, 2011
  1. @deadlyicon

    added subdomain and redirect_to_subdomain methods to ActionDispatch::…

    Jared Grippe committed with deadlyicon
    …Routing::Mapper
Something went wrong with that request. Please try again.