Sha256: 4be2da1f24de7a093d2ddc80514af58d06688f587eba781abec58b81a7c007a3
Contents?: true
Size: 314 Bytes
Versions: 30
Compression:
Stored size: 314 Bytes
Contents
module Locomotive class DashboardController < BaseController 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
30 entries across 30 versions & 1 rubygems