Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Strong Parameters
  • Loading branch information
asecondwill committed May 17, 2014
commit e0ef1ad715702b525efd823a615e6dad3c5875ba
3 changes: 2 additions & 1 deletion app/admin/categories.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ActiveAdmin.register Blog::Category do
menu parent: "Blog", label: "Categories"

permit_params :name, :description

index do
column :name
default_actions
Expand Down