8 lines
279 B
Ruby
8 lines
279 B
Ruby
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
|