Class: LesliAudit::AnalyticsController
- Inherits:
-
ApplicationController
- Object
- Lesli::ApplicationLesliController
- ApplicationController
- LesliAudit::AnalyticsController
- Defined in:
- app/controllers/lesli_audit/analytics_controller.rb
Instance Method Summary collapse
- #controllers ⇒ Object
- #devices ⇒ Object
-
#index ⇒ Object
GET /analytics.
- #users ⇒ Object
- #visitors ⇒ Object
Instance Method Details
#controllers ⇒ Object
20 21 22 |
# File 'app/controllers/lesli_audit/analytics_controller.rb', line 20 def controllers respond_with_successful(AnalyticService.new(current_user, query).controllers) end |
#devices ⇒ Object
16 17 18 |
# File 'app/controllers/lesli_audit/analytics_controller.rb', line 16 def devices respond_with_successful(AnalyticService.new(current_user, query).devices) end |
#index ⇒ Object
GET /analytics
5 6 |
# File 'app/controllers/lesli_audit/analytics_controller.rb', line 5 def index end |
#users ⇒ Object
12 13 14 |
# File 'app/controllers/lesli_audit/analytics_controller.rb', line 12 def users respond_with_successful(AnalyticService.new(current_user, query).users) end |
#visitors ⇒ Object
8 9 10 |
# File 'app/controllers/lesli_audit/analytics_controller.rb', line 8 def visitors respond_with_successful(AnalyticService.new(current_user, query).visitors) end |