initialize invites
Invites model,controller and views are initialized. add datepicker and selectize in invites#new calender is added for end date field and selectize is added for emails field to allow multiple emails in field
This commit is contained in:
parent
a96722b3c3
commit
654760c3fc
8 changed files with 77 additions and 2 deletions
11
app/controllers/admin/invites_controller.rb
Normal file
11
app/controllers/admin/invites_controller.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
module Admin
|
||||
class InvitesController < Admin::BaseController
|
||||
load_and_authorize_resource :conference, find_by: :short_title
|
||||
|
||||
def new
|
||||
@invite = @conference.invites.new
|
||||
end
|
||||
|
||||
def create; end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue