I am looking into putting up a "Finalize" button on the commission review page.
I noticed that the two existing buttons link to "commissions_requests_accept_path" or "commissions_requests_decline_path," but I'm not entirely sure where these are defined. See code. The functions seem to be defined in app/controllers/commissions_controller.rb but I'm not really seeing how it's being linked to that.
I am looking into putting up a "Finalize" button on the commission review page.
I noticed that the two existing buttons link to "commissions_requests_accept_path" or "commissions_requests_decline_path," but I'm not entirely sure where these are defined. See code. The functions seem to be defined in
app/controllers/commissions_controller.rb
but I'm not really seeing how it's being linked to that.Any pointers? Thanks in advance.