Extends rails views rendering