# Adding anchor ref in controller action

**URL:** <https://www.ruby-forum.com/t/adding-anchor-ref-in-controller-action/62838>\
**Category:** Rails\
**Created:** [June 8, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/adding-anchor-ref-in-controller-action/62838 "2006-06-08T17:43:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![natec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ec9cab/32.png) [@natec](https://www.ruby-forum.com/u/natec)\
**Post date:** [June 8, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/adding-anchor-ref-in-controller-action/62838/1 "2006-06-08T17:43:23Z")

</div>

hello,

is there a way to add an anchor reference (#anchor\_name) to the url from  
within the current controller action?

Nate
