Refactors Expense edit and show routes