Sha256: 2b03c1a1b880adf1dbeeaf9995aa831cb699a772a761f3fb04558996e6cb0a07
Contents?: true
Size: 363 Bytes
Versions: 9
Compression:
Stored size: 363 Bytes
Contents
module Locomotive class DashboardController < BaseController helper Locomotive::Shared::ActivitiesHelper account_required & within_site def show @activities = current_site.activities.order_by(:created_at.desc).page(params[:page]).per(Locomotive.config.ui[:per_page]) respond_with @activities, layout: !request.xhr? end end end
Version data entries
9 entries across 9 versions & 1 rubygems