Class ApplicationController
In: app/controllers/application.rb
Parent: ActionController::Base

Filters added to this controller will be run for all controllers in the application. Likewise, all the methods added will be available for all controllers.

Methods

Included Modules

LoginSystem

Public Instance methods

Redirects the user to the index and displays an optional message

[Source]

    # File app/controllers/application.rb, line 9
 9:   def redirect_to_index(msg = nil)
10:     flash[:notice] = msg if msg
11:     redirect_to(:action => 'index')
12:   end

[Validate]