Changed '@url' to '@page_url' to not conflict.
Updated paginate to take per_page and params values.