appirits/comable

View on GitHub
frontend/app/controllers/comable/application_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Comable
  class ApplicationController < ActionController::Base
    include Comable::ApplicationHelper

    protect_from_forgery with: :exception
    before_filter :set_view_path

    def set_view_path
      prepend_view_path current_store.theme.dir if current_store.theme
    end
  end
end