app/controllers/koudoku/application_controller.rb in koudoku-1.2.2 vs app/controllers/koudoku/application_controller.rb in koudoku-1.2.3
- old
+ new
@@ -1,10 +1,7 @@
module Koudoku
class ApplicationController < ::ApplicationController
layout Koudoku.layout
helper :application
- # stolen from http://stackoverflow.com/questions/9232175/access-main-app-helpers-when-overridings-a-rails-engine-view-layout#comment44856124_19453140
- # to solve the problem of having to reference "main_app.$some_model_path" in layouts
- helper Rails.application.routes.url_helpers
end
end