mirror of
https://github.com/czhu12/canine.git
synced 2025-12-20 18:29:53 -06:00
added functional pricing calculator
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user