jam-cloud/web/app/controllers/spikes_controller.rb

21 lines
555 B
Ruby

###############################################################
### A spike is something that you build to prove something. ###
### It's not meant to be used in the actual product. ###
###############################################################
class SpikesController < ApplicationController
def facebook_invite
end
def listen_in
#as_musician = false is the critical search criteria for sessions to list correctly
@music_sessions = MusicSession.index(current_user, as_musician: false)
render :layout => 'web'
end
end