# Routing Error Fix?

**URL:** <https://www.ruby-forum.com/t/routing-error-fix/111715>\
**Category:** Rails\
**Created:** [August 10, 2007, 1:20am UTC](https://www.ruby-forum.com/t/routing-error-fix/111715 "2007-08-10T01:20:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TTDaVeTT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/91b2a8/32.png) [@TTDaVeTT](https://www.ruby-forum.com/u/TTDaVeTT)\
**Post date:** [August 10, 2007, 1:20am UTC](https://www.ruby-forum.com/t/routing-error-fix/111715/1 "2007-08-10T01:20:17Z")

</div>

I get a routing error when I try and read from a text field. The  
error says:

ROUTING ERROR  
no route found to match “/\look\at” with {:method=\>:get}

Heres the code Im using to read data from a text field:  
input.html:

 Text Fields 
# Textfields
  

```
<form action = "\look\at">
  Please enter your name.
  <br>
  <input type = "text" name="text1">
  <br>
  <br>
  <input type="submit"/>
</form>

```

look\_controller.rb:  
class LookController \< ApplicationController  
def at  
@data = params[:text1]  
end  
end

at.rhtml:

 Reading from Text Fields 
# Reading from Textfields
  
 Your name is \<%= @data %\>   

Does anyone know why I keep getting this error. This seems like a  
simple thing but I cant figure it out and its impeding my ruby  
learning process.

---

<div class="post-metadata">

**Author:** ![TTDaVeTT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/91b2a8/32.png) [@TTDaVeTT](https://www.ruby-forum.com/u/TTDaVeTT)\
**Post date:** [August 10, 2007, 3:55am UTC](https://www.ruby-forum.com/t/routing-error-fix/111715/2 "2007-08-10T03:55:26Z")

</div>

TTDaVeTT wrote:

> ```
> <title>Text Fields</title>
> <br>
> 
> ```
> 
> end
> 
> Does anyone know why I keep getting this error. This seems like a  
> simple thing but I cant figure it out and its impeding my ruby  
> learning process.

Don’t use backslashes “” in your URL paths. Use forward slashes “/”  
instead.

–  
Michael W.
