fix build for newer versions of action_view
Merge pull request #9 from afeld/mime-fix

fix build for newer versions of action_view