init push - laying out the project

This commit is contained in:
Mike Sutton
2022-11-12 02:27:46 +01:00
commit 14e163a1a5
183 changed files with 20069 additions and 0 deletions

View File

@ -0,0 +1,7 @@
class Api::V1::AppController < Api::AuthenticatedApiController
skip_before_action :authenticate_user!, only: [:configuration]
def configuration
rtn = {exchange_accounts: ExchangeAccount.pluck(:id).sort}
render json: { success: true, config: rtn} and return
end
end