Project

General

Profile

Feature #682

Clean up Question controller and view params

Added by Emilio González Montaña about 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
Questions
Target version:
Start date:
2012-11-20
Due date:
2012-11-20
% Done:

100%

Estimated time:
Milestones:

Description

Clean up the source code in Question controller & views to make easier the use of params when links are created, son there is no need to know all parameters in all sites.

Use params.merge(:param1 => value, :param2 => value) construction instead of create the full URL each time.

Also available in: Atom PDF