mercredi 25 mai 2016

chnage params value in request.url rails 3

After using request.url i am getting following result:

http://MySite/admin/newsletter/export_subscriber?commit=Search&page=2&search_data%5Bcompany_name%5D=&search_data%5Bemail_id%5D=&search_data%5Bend_date%5D=May25%2C+2016+12%3A17+pm&search_data%5Bjob_title%5D=&search_data%5Bsite_id%5D=1&search_data%5Bstart_date%5D=May+25%2C+2015+12%3A17+pm&search_data%5Bstatus%5D=&utf8=%E2%9C%93

I want to increment params[:page] value by 1.

Help me out.

Aucun commentaire:

Enregistrer un commentaire