aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/categories_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/categories_controller.rb')
-rw-r--r--app/controllers/categories_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/categories_controller.rb b/app/controllers/categories_controller.rb
index 40f1ff5..da8d837 100644
--- a/app/controllers/categories_controller.rb
+++ b/app/controllers/categories_controller.rb
@@ -10,6 +10,11 @@ class CategoriesController < ApplicationController
def show
@category = Category.find(params[:id])
+
+ respond_to do |format|
+ format.html
+ format.js
+ end
end
def edit