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