I need help with lesson 2 #3 controller step 2


#1

i don't have any idea where the routes file is :confused:


#2

Sure. But can you think of how to find it?

(google or search in your directory for files matching that name)


#3

i got it :grinning: :grinning:


#4

What do you mean by directory


#5

File systems are usually organized as trees of directories:

some/
├── dirs/
│   ├── here/
│   └── iamafile
└── other/
    ├── branch/
    │   └── down/
    │       └── this/
    │           └── way/
    │               └── kittens.gif
    └── thisisafile

7 directories, 3 files

#6

How do you get to one?


#7

$ cd some/other/branch/down/this/way
$ chrome kittens.gif

#8

Can someone tell me how to get to the routes file please.


#9

It's in the config file of your Ruby application. It's called Routes.rb


#10

That helps a lot, thank you.


#11

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.