Rails way for create urls