mirror of
https://github.com/czhu12/canine.git
synced 2025-12-21 10:49:49 -06:00
merged
This commit is contained in:
@@ -62,4 +62,11 @@ class StaticController < ApplicationController
|
||||
def calculator
|
||||
@prices = JSON.parse(File.read(File.join(Rails.root, 'public', 'resources', 'prices.json')))
|
||||
end
|
||||
|
||||
def docs
|
||||
end
|
||||
|
||||
def swagger
|
||||
render plain: File.read(Rails.root.join('swagger', 'v1', 'swagger.yaml')), layout: false
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user