constraints in ruby-on-rails routing

Posted by fayer on Stack Overflow See other posts from Stack Overflow or by fayer
Published on 2010-06-12T14:29:17Z Indexed on 2010/06/12 14:32 UTC
Read the original article Hit count: 177

Filed under:

could someone describe what this is all about?

its in the routing file:

match "photo", :constraints => {:subdomain => "admin"}

thanks

© Stack Overflow or respective owner

Related posts about ruby-on-rails