Adding rails part #2
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
protect_from_forgery
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class ArtistController < ApplicationController
|
||||
def view
|
||||
@artist = Artists.getByName(params[:name])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user