Class: Spurs::FlashesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Spurs::FlashesController
- Defined in:
- app/controllers/spurs/flashes_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
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 |