init push - laying out the project
This commit is contained in:
7
portal/app/controllers/api/v1/app_controller.rb
Normal file
7
portal/app/controllers/api/v1/app_controller.rb
Normal 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
|
Reference in New Issue
Block a user