module ExceptionallyBeautiful
  class ApplicationController < ActionController::Base
  end
end

module ExceptionallyBeautiful
  class ApplicationController < ::ApplicationController
    helper Rails.application.routes.url_helpers
    helper ExceptionallyBeautiful::RenderHelper
  end
end

Allow application routes to work within custom layouts.
Allow application routes to work within custom layouts.

* Changed `ExceptionallyBeautiful::ApplicationController` to inherit from `::ApplicationController`.
* Include `Rails.application.routes.url_helpers` as a helper in our `ExceptionallyBeautiful::ApplicationController` so named route helpers are available in views and layouts rendered by our controller.
