Add tax_references, its controller and some basic pages for viewing ref data about taxes.

This commit is contained in:
2020-09-10 12:36:43 +01:00
parent 49d17e5850
commit 83ba256f9d
15 changed files with 142 additions and 4 deletions
@@ -0,0 +1,10 @@
class TaxReferencesController < ApplicationController
def index
@tax_references = TaxReference.all
end
def show
@tax_references = TaxReference.all
@tax_reference = TaxReference.find_by(year: params[:year])
end
end