aboutsummaryrefslogblamecommitdiffstats
path: root/app/controllers/refinery/blog/admin/categories_controller.rb
blob: e9f2f8936dba2fb8f2006a584f95f734c450a0a4 (plain) (tree)
1
2
3
4
5
6
7
8
               

                
                                                              
 
                                          

                                     




                                                  



         
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