Class: Spurs::FlashesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/spurs/flashes_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



3
4
5
6
7
8
9
# File 'app/controllers/spurs/flashes_controller.rb', line 3

def create
  respond_to do |format|
    format.js {
      render :file => 'spurs/flashes/add_message', :format => :js, :locals => {:_message => params[:message],:_flavor => params[:flavor]}
    }
  end
end