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

        crudify :'refinery/blog/category',
                :order => 'title ASC'

        private

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