Now that all the scaffolds have been created, it is time to refine our administration panel:
As categories are very simple models (they only have a
name
attribute), the View link doesn't give the user more information than in the listing, so we will remove it. We will also display the number of posts associated with each category in the categories list; it will give us an idea of the most used categories.We don't need to create new comments inside the administration panel, so we need to remove the associated links and actions. We also need to do some improvements in the edition form and in the listing.
Same for the posts; we will remove most columns when listing posts, we will add a WYSIWYG editor, a markdown editor and a category select box inside the post creation and edition forms.
Note that there could be a lot of other improvements. You are recommended to add the changes you deem necessary.