Sha256: b545c11fc4fd9d64bee39aa650af9f930fe13147432ac6ce5bb8d97f6ef11c98
Contents?: true
Size: 362 Bytes
Versions: 94
Compression:
Stored size: 362 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 = @lending_policies.page(params[:page]) end private def prepare_options @user_groups = UserGroup.order(:position) end end
Version data entries
94 entries across 94 versions & 1 rubygems