Class: WelcomeController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- WelcomeController
- Defined in:
- app/controllers/welcome_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#configuration ⇒ Object
24 25 26 |
# File 'app/controllers/welcome_controller.rb', line 24 def configuration end |
#index ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'app/controllers/welcome_controller.rb', line 4 def index @rss_feeds = RssFeed.all if (current_person.nil?) @registered_for_these_courses_during_current_semester = [] @teaching_these_courses_during_current_semester = [] else @registered_for_these_courses_during_current_semester = current_person.registered_for_these_courses_during_current_semester @teaching_these_courses_during_current_semester = current_person.teaching_these_courses_during_current_semester end respond_to do |format| format.html # index.html.erb format.xml { render :xml => @courses } end end |
#new_features ⇒ Object
21 22 |
# File 'app/controllers/welcome_controller.rb', line 21 def new_features end |