# Recognize path inside a helper

**URL:** <https://www.ruby-forum.com/t/recognize-path-inside-a-helper/185416>\
**Category:** Rails\
**Created:** [March 19, 2010, 2:02pm UTC](https://www.ruby-forum.com/t/recognize-path-inside-a-helper/185416 "2010-03-19T14:02:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/94ad74/32.png) [@anler](https://www.ruby-forum.com/u/anler)\
**Post date:** [March 19, 2010, 2:02pm UTC](https://www.ruby-forum.com/t/recognize-path-inside-a-helper/185416/1 "2010-03-19T14:02:43Z")

</div>

Hi Folks, I need to get a hash of params from an url path inside a  
helper.  
The way I’ve been doing this was through recognize\_path in RouteSet  
but now throw me an Exception: MethodNotAllowed(I think beacuse the  
path is an “admin” path?)  
There is another way?

thanks
