got confused at first and made this a helper... updated to be middleware
0.2.1