Sha256: 3990f5744d83587233a613c1221f7e26a8896c819fb1230ab2a109d0fa67df71
Contents?: true
Size: 514 Bytes
Versions: 24
Compression:
Stored size: 514 Bytes
Contents
module KepplerLanguages module Concerns # Concern con la configuracion de parametros de los formulario module History extend ActiveSupport::Concern included do before_action :show_history, only: [:index] end private def show_history get_history(Room) end def get_history(model) @activities = PublicActivity::Activity.where( trackable_type: model.to_s ).order('created_at desc').limit(50) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems