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

8 lines
182 B
Ruby
Raw Normal View History

2011-04-05 22:58:11 +00:00
# encoding: utf-8
2011-04-03 16:21:05 +00:00
class ArtistController < ApplicationController
2011-04-05 22:58:11 +00:00
require 'open-uri'
2011-04-03 16:21:05 +00:00
def view
2011-04-05 22:58:11 +00:00
@artist = Artist.getByName(params[:name].gsub('+', ' ').gsub('%20', ' '))
2011-04-03 16:21:05 +00:00
end
end