Dinduks/MyFirstRailsApp — Issue #2: Don't put any logic in your views
Author: dmathieu
Created: 2011-12-14 19:21:25+00:00
State: open

For example [this](https://github.com/Dinduks/MyFirstRailsApp/blob/master/app/views/partials/_navbar.html.erb#L2).
In order to be able to maintain an application and be able to have it evolve, you need to think it without putting any logic in your views.
The views are for rendering and should just get variables or use methods.

I've seen several other parts of logic in your views. If you want to improve something, there is it :)