# encoding: utf-8 class Admin::VenueAdminController < OrbitAdminController #alias_method :org_datetime_picker, :datetime_picker #include OrbitFormHelper before_action :set_calendar_types,only: [:edit,:new,:copy] def set_calendar_types @calendar_types = CalendarType.all.collect{|v| [v.title,v.id.to_s]} @module_pages = Page.where(:module => 'venue_management').collect{|p| [p.name,p.id] } end def initialize(*) super ActionView::Helpers::FormBuilder.send(:prepend,VenueAdminHelper) @venue = 'venue' end end