Refactoring

Same as for other controllers: show all ideas if no ids are provided in the params, show only the ideas matching the params[:ids] if found, through error if none are found on both cases (with and without params[:ids]).