oldhaven/rails/app/controllers/track_controller.rb
2011-04-09 03:41:26 +04:00

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