beginner question getting data from textbox

Corey Konrad wrote:

I am just doing a simple book exercise

and i keep getting this error in the browser:

no route found to match "/\\look\\at" with {:method=>:get}

i have an action named at set up in my controller

class LookController < ApplicationController
  def at
    @data = params[:text1]


i have the main public page where i get the user input:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html; charset=ISO-8859-1"
  <title>Using Text Fields</title>
<h1>Working with textfields</h1>
This Ruby on Rails application lets you read data from text fields
<form action = "\look\at" >
Please enter your name.
<input type="text" name="text1" >
<input type="submit" />


all the files are in the correct directories, the input.html one is in
public the controller is in its default location and the at.rhtml file
is in views.

What am i missing can anyone see it?

Use forward slashes "/" in your path not backslashes "\" even if you are on Windows.