Sha256: 74021329bbb2840e492b1975530b941cb911d1958a1ce8a7b5ece06e0334f7d8
Contents?: true
Size: 726 Bytes
Versions: 8
Compression:
Stored size: 726 Bytes
Contents
require "enju_resource_merge/engine" require "will_paginate/array" module EnjuResourceMerge def self.included(base) base.extend(ClassMethods) end module ClassMethods def enju_resource_merge include EnjuResourceMerge::InstanceMethods end end module InstanceMethods private def get_patron_merge_list @patron_merge_list = PatronMergeList.find(params[:patron_merge_list_id]) if params[:patron_merge_list_id] end def get_series_statement_merge_list @series_statement_merge_list = SeriesStatementMergeList.find(params[:series_statement_merge_list_id]) if params[:series_statement_merge_list_id] end end end ActionController::Base.send(:include, EnjuResourceMerge)
Version data entries
8 entries across 8 versions & 1 rubygems