Having some issues, I want my urls for the show action to be like:

```
/post/some-title

```

i.e. so wherever I reference the show\_post\_path tag (or whatever it is) it should make that url.

BUT, when editing/updating I want to do this using the ID of the post ie.

```
/post/234/edit

```

How can I achieve this, it seems what I am doing is messing things up because I used:

```
def to_param
  #{title}"
end

```

In my post model.