14 lines
228 B
Ruby
14 lines
228 B
Ruby
class TrackController < ApplicationController
|
|
require 'net/http'
|
|
require 'uri'
|
|
def listen
|
|
render :json => YAML.load_file("#{RAILS_ROOT}/config/vk_accounts.yml")
|
|
end
|
|
|
|
private
|
|
|
|
def fetchSearch q
|
|
|
|
end
|
|
end
|