Change resources :companies to resource :company. There is no longer a company id in the address bar.
Change navigation links to buttons.
Clean up invoice view files to make them easier to find and read.