bjensen / fullcalendar-rails

FullCalendar packaged for the Rails 3.1+ asset pipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FullCalendar for Rails

FullCalendar packaged for the Rails 3.1+ asset pipeline. Check FullCalendar project home page and GitHub page.

This gem is forked from https://github.com/bokmann/fullcalendar-rails which does not include gcal.js and has not been updated to the latest version. You can read more about the reasons behind this fork here and check the pull request to the original fullcalendar-rails repository.

There is another gem at https://github.com/mankind/fullcalendar-rails but the implementation is lacking.

Installation

Add this line to your application's Gemfile:

gem 'fullcalendar-rails', github: 'tkrotoff/fullcalendar-rails'

And then execute:

$ bundle

Usage

Add the following JavaScript file to app/assets/javascripts/application.js:

//= require fullcalendar
//= require fullcalendar/gcal.js <--- In case you need Google Calendar support

Add the following stylesheet file to app/assets/stylesheets/application.css:

*= require fullcalendar

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

FullCalendar packaged for the Rails 3.1+ asset pipeline

License:MIT License