Debugged destroy method

param => to params
and then calapp.name should be @calapp