diff --git a/app/controllers/public/category_controller.rb b/app/controllers/public/category_controller.rb index f891e30..b86ef13 100644 --- a/app/controllers/public/category_controller.rb +++ b/app/controllers/public/category_controller.rb @@ -1,5 +1,13 @@ class CategoryController < ApplicationController + design :holder => 'environment' + + before_filter :load_default_enviroment + + def load_default_enviroment + Environment.default + end + before_filter :load_category, :only => [ :view ] def load_category path = params[:path].join('/') -- libgit2 0.21.2