public
Created

search_controller

  • Download Gist
controller.rb
Ruby
1 2 3 4 5
search_controller.rb
def songs
@query = @params["query"]
@songs = Song.search(@query)
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.