app/controllers/comable/admin/application_controller.rb in comable_backend-0.3.2 vs app/controllers/comable/admin/application_controller.rb in comable_backend-0.3.3
- old
+ new
@@ -1,9 +1,12 @@
module Comable
module Admin
class ApplicationController < ActionController::Base
include Comable::ApplicationHelper
+ # Include `asset_path` method for gritter
+ helper Sprockets::Helpers::RailsHelper if Rails::VERSION::MAJOR == 3
+
layout 'comable/admin/application'
def current_ability
Comable::Ability.new(current_customer)
end