Fixed hs and coffe generator for nested routes.

If we try generate js or coffee for nested routes
```
resource1_resource2_path_method(:coffee)(123)
```

result was next

```
/resource1/{{resource1_id}}/resource2/123
```