Class: Decidim::UserTimelineController

Inherits:
ApplicationController show all
Includes:
FilterResource, Paginable, UserGroups
Defined in:
app/controllers/decidim/user_timeline_controller.rb

Overview

The controller to show all the last activities in a Decidim Organization.

Constant Summary

Constants included from Paginable

Paginable::OPTIONS

Instance Method Summary collapse

Methods included from UserGroups

#enforce_user_groups_enabled

Methods included from NeedsSnippets

#snippets

Methods included from HttpCachingDisabler

#disable_http_caching

Methods included from RegistersPermissions

register_permissions

Methods included from NeedsOrganization

enhance_controller, extended, included

Instance Method Details

#indexObject

Raises:

  • (ActionController::RoutingError)


13
14
15
# File 'app/controllers/decidim/user_timeline_controller.rb', line 13

def index
  raise ActionController::RoutingError, "Not Found" if current_user != user
end