diff --git a/app/controllers/federal_tax_brackets_controller.rb b/app/controllers/federal_tax_brackets_controller.rb index 88426d5..08664de 100644 --- a/app/controllers/federal_tax_brackets_controller.rb +++ b/app/controllers/federal_tax_brackets_controller.rb @@ -61,6 +61,10 @@ def destroy end end + def federal_tax_filing_status_select + @federal_tax_bracket = FederalTaxBracket.find(params[:fed_tax_table]) + end + private # Use callbacks to share common setup or constraints between actions. diff --git a/app/views/dashboard/index.html.erb b/app/views/dashboard/index.html.erb index e24865a..fa8b27e 100644 --- a/app/views/dashboard/index.html.erb +++ b/app/views/dashboard/index.html.erb @@ -36,27 +36,21 @@ - <%= form_with model: @federal_tax_table_type, local: true do |form| %> -