Class: RootController

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

Instance Method Summary collapse

Methods inherited from ApplicationController

#current_navable, #current_navable=, #current_user, #point_navigation_to, #redirect_www_subdomain, #set_locale

Instance Method Details

#indexObject



6
7
8
9
10
11
12
# File 'app/controllers/root_controller.rb', line 6

def index
  current_user.try(:update_last_seen_activity, "sieht sich die Startseite an", @page)
  @navable = @page
  @blog_entries = @page.blog_entries
  
  render "pages/show"
end