minor shit updates
This commit is contained in:
parent
2d053164e8
commit
bedde860a4
2
Gemfile
2
Gemfile
|
@ -33,7 +33,7 @@ gem 'tinymce-rails'
|
||||||
gem 'therubyracer' if RUBY_PLATFORM.downcase.include?("linux")
|
gem 'therubyracer' if RUBY_PLATFORM.downcase.include?("linux")
|
||||||
gem 'mongoid-encryptor', :require => 'mongoid/encryptor'
|
gem 'mongoid-encryptor', :require => 'mongoid/encryptor'
|
||||||
#gem 'contacts'
|
#gem 'contacts'
|
||||||
gem 'event-calendar', :require => 'event_calendar'
|
gem 'event-calendar', :require => 'event_calendar'#, :git => 'git://github.com/elevation/event_calendar.git'
|
||||||
|
|
||||||
gem "impressionist", :require => "impressionist", :path => "vendor/impressionist"
|
gem "impressionist", :require => "impressionist", :path => "vendor/impressionist"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
class Event
|
class Event
|
||||||
include Mongoid::Document
|
include Mongoid::Document
|
||||||
has_event_calendar
|
include EventCalendar
|
||||||
|
has_event_calendar
|
||||||
|
|
||||||
|
# def self.events_for_date_range(start_d, end_d, find_options = {})
|
||||||
|
# where(find_options.merge(self.end_at_field.to_sym.lt => end_d.to_time.utc,
|
||||||
|
# self.start_at_field.to_sym.gt => start_d.to_time.utc)).asc(self.start_at_field)
|
||||||
|
# end
|
||||||
end
|
end
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"title": "gallery",
|
||||||
|
"version": "0.1",
|
||||||
|
"organization": "Rulingcom",
|
||||||
|
"author": "Visual dep",
|
||||||
|
"intro": "A simple and amazing gallery",
|
||||||
|
"update_info": "Some info",
|
||||||
|
"create_date": "11-08-2012",
|
||||||
|
"app_pages": ["albums"],
|
||||||
|
"widgets": ["albums"],
|
||||||
|
"category": ["gallery_categories"],
|
||||||
|
"widget_fields":[],
|
||||||
|
"enable_frontend": true
|
||||||
|
}
|
Reference in New Issue