basecamp / mail_view

Visual email testing
MIT License
1.33k stars 128 forks source link

Fixed name error in routing #58

Closed martijnrusschen closed 10 years ago

martijnrusschen commented 11 years ago

I found that this route didn't work for me. This fixes the route for me.

JonRowe commented 10 years ago

MailPreview refers to the subclass, the readme doesn't make this clear but you need a sub class with setup methods to use the route, directly mapping like you have would require you to reopen the class to define your methods.

jeremy commented 10 years ago

@JonRowe nailed it. This is your subclass that's mounted.

martijnrusschen commented 10 years ago

Right, thanks for the clarification!