Seems like the views should new have rails-esque controllers.