zurb/foundation-rails — pull request #99 by jmartelletti (2014-09-23 09:21:54+00:00)
Title: Fix reference to ApplicationController that doesn't always exist

In situations where foundation-rails is loaded without the rails application (e.g. when sidekiq shares the same Gemfile with an app), and ApplicationController doesn't exist it barfs with an 'uninitialized constant ApplicationController'.

As noted in rails engine guide "The ApplicationController class being inherited from here is the
Blorgh::ApplicationController, not an application's ApplicationController." I think we probably mean to refer to ActionController::Base in this controller. Everything loading correctly now :smiley: