Sha256: fe47aad1dcd435a4f6d77cfabb1935cb9276069c16efa6e6e921a0f927602469
Contents?: true
Size: 358 Bytes
Versions: 9
Compression:
Stored size: 358 Bytes
Contents
class LendingPoliciesController < InheritedResources::Base load_and_authorize_resource before_filter :get_user_group, :get_item before_filter :prepare_options, :only => [:edit, :update] def index @lending_policies = LendingPolicy.page(params[:page]) end private def prepare_options @user_groups = UserGroup.order(:position) end end
Version data entries
9 entries across 9 versions & 1 rubygems