Sha256: f2e9a5f6655c32501fc1caec4d8b8aa521297430ca09a4d4de5a05a6bf766394
Contents?: true
Size: 627 Bytes
Versions: 16
Compression:
Stored size: 627 Bytes
Contents
# TODO # This controller is given as an example of a possible home # Home 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
16 entries across 16 versions & 1 rubygems