Mass move to root
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
protect_from_forgery
|
||||
require 'beatdb'
|
||||
require 'pp'
|
||||
#require 'cobravsmongoose'
|
||||
end
|
||||
@@ -0,0 +1,13 @@
|
||||
# encoding: utf-8
|
||||
class ArtistController < ApplicationController
|
||||
require 'open-uri'
|
||||
def view
|
||||
if params[:name].nil?
|
||||
name = ''
|
||||
else
|
||||
name = params[:name].gsub('+', ' ').gsub('%20', ' ')
|
||||
end
|
||||
@artist = Artist.getByName(name)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
class MainController < ApplicationController
|
||||
def index
|
||||
end
|
||||
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
class TrackController < ApplicationController
|
||||
require 'net/http'
|
||||
require 'uri'
|
||||
def listen
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user