respond_to and params:format]

Hoi.

I'm creating a configurable export feature for my application's
backend. I have a form that allows administrators the select what data
they want to export, how that data should be ordered and in which file
format the export should be saved.

At the controller level I need respond_to to take params[:format] into
account but it seems to ignore that parameter.

What am I doing wrong?

Regards,

Gert

PLEASE IGNORE MY QUESTION.

I identified an error in my code and could remedy this issue.