Hmmm, well. I am not sure how this works. My intension was let subscriptions work even without JS. So, I had to use controller actions for creating a subscription. After checking the name, the controller for creating a subscription would be called and then the user would be redirected to the subscription show_action that redirects to the appropriate (search) page with the right url parameters.