1
0
Fork 0
oldhaven/rails/app/controllers/artist_controller.rb

9 lines
183 B
Ruby

# encoding: utf-8
class ArtistController < ApplicationController
require 'open-uri'
def view
@artist = Artist.getByName(params[:name].gsub('+', ' ').gsub('%20', ' '))
end
end