aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog/admin/categories_controller.rb
blob: 217648473efb86650bbabe87c045414ad582e70c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module Refinery
  module Blog
    module Admin
      class CategoriesController < ::Refinery::AdminController

        crudify :'refinery/blog/category',
                :include => [:translations],
                :order => 'title ASC'

        private

        def category_params
          params.require(:category).permit(:title)
        end
      end
    end
  end
end