added functional pricing calculator

This commit is contained in:
Chris Zhu
2025-03-18 12:00:10 -07:00
parent 9aea674fe1
commit 0b87c616e2
4 changed files with 408 additions and 739 deletions

View File

@@ -58,4 +58,8 @@ class StaticController < ApplicationController
def index
end
def calculator
@prices = JSON.parse(File.read(File.join(Rails.root, 'public', 'resources', 'prices.json')))
end
end