This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$('a').live('click', function (e) { | |
e.preventDefault(); | |
window.location = $(this).attr('href'); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## NOTE | |
Class assumes event model includes start_date and end_date, | |
both of type 'datetime'. | |
You can init the class with a hash of options. | |
There are two options options at this point, 'month_format', | |
and 'date_format' which accept Ruby's 'strftime' style strings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sass::Plugin.options.merge!( | |
:template_location => 'public/stylesheets/sass', | |
:css_location => 'tmp/stylesheets' | |
) | |
Rails.configuration.middleware.delete('Sass::Plugin::Rack') | |
Rails.configuration.middleware.insert_before('Rack::Sendfile', 'Sass::Plugin::Rack') | |
Rails.configuration.middleware.insert_before('Rack::Sendfile', 'Rack::Static', | |
:urls => ['/stylesheets'], |
NewerOlder