summaryrefslogtreecommitdiff
path: root/app/controllers/api/v2
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api/v2')
-rw-r--r--app/controllers/api/v2/categories_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v2/categories_controller.rb b/app/controllers/api/v2/categories_controller.rb
index 86454855..365544b6 100644
--- a/app/controllers/api/v2/categories_controller.rb
+++ b/app/controllers/api/v2/categories_controller.rb
@@ -2,7 +2,7 @@ module Api
module V2
class CategoriesController < ApplicationController
def show
- @category = Category.find(params[:id])
+ @category = @categories.find(params[:id])
end
end
end