Sha256: e2aadfa8055f442510b964253648c1cc3effce9bc08dcd5dac4878dbe7128b25
Contents?: true
Size: 628 Bytes
Versions: 56
Compression:
Stored size: 628 Bytes
Contents
# TODO # This controller is given as an example of a possible home # Admin funcitons : # * Display generic information about the connector (mostly for not connected users) # * Link the connector to a Maestrano organization # * Acces the last synchronization and a synchronization history (with their status) class HomeController < ApplicationController def index if current_user @organization = current_organization if @organization @synchronizations = Maestrano::Connector::Rails::Synchronization.where(organization_id: @organization.id).order(updated_at: :desc).limit(40) end end end end
Version data entries
56 entries across 56 versions & 1 rubygems