JC: added @view_in_config and @max_pagination to application controller.
JC: removed @max_pagination and @view_in_config which are not needed.