config/routes.rb in stockor-0.4.0 vs config/routes.rb in stockor-0.5.0
- old
+ new
@@ -35,12 +35,16 @@
resources Skr::PoLine
resources Skr::Voucher
resources Skr::VoLine
resources Skr::SalesOrder
resources Skr::SoLine
+ resources Skr::ExpenseCategory
+ resources Skr::ExpenseEntry
resources Skr::SequentialId, controller: Skr::Handlers::SequentialIds
resources Skr::Invoice, controller: Skr::Handlers::InvoiceFromTimeEntries,
path: 'invoices/from-time-entries'
+ resources Skr::ExpenseEntry, controller: Skr::Handlers::ApproveExpenseEntries,
+ path: 'expense-entries/approve'
resources Skr::Sku, path: 'public/skus', controller: Skr::Handlers::Skus, cors: '*', public: true
resources Skr::Invoice, path: 'public/sales', controller: Skr::Handlers::Sales, cors: '*', public: true
get 'credit-card-gateways.json', &Skr::Handlers::CreditCardGateway.get
post 'credit-card-gateways.json', &Skr::Handlers::CreditCardGateway.update
post 'fresh-books-imports.json', &Skr::Handlers::FreshBooksImport.handler