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