Sha256: 4eaf408512616dfc9a269ce779ab6cee783af12f7def60a265f602620904d7ff
Contents?: true
Size: 258 Bytes
Versions: 10
Compression:
Stored size: 258 Bytes
Contents
module AdminMessagesControllerExtensions def self.included(base) base.class_eval { before_filter :get_group, :only => :new } end protected def get_group model.group = Group.find(params[:group_id]) if params[:group_id] end end
Version data entries
10 entries across 10 versions & 1 rubygems