Sha256: 993a4b74cf17e9e22633982486cf213bc62c39f467ef8fa0c36cd79a439ae4d8
Contents?: true
Size: 531 Bytes
Versions: 7
Compression:
Stored size: 531 Bytes
Contents
class MembershipTypesController < ArtfullyOseController def index @membership_types = current_organization.membership_types.paginate(:page => params[:page], :per_page => 50) end def new @membership_type = MembershipType.new end def create @membership_type = MembershipType.new(params[:membership_type]) @membership_type.organization = current_organization @membership_type.save redirect_to membership_types_path end def edit @membership_type = MembershipType.find(params[:id]) end end
Version data entries
7 entries across 7 versions & 1 rubygems