I am currently working on re factoring my controllers and views to
better follow the DRY principal. I have done significant work with the
controllers but am struggling with the views…
I have the standard type layout, a header (includes a navigation bar),
then the content, followed by a footer.
In the content section there is a title, basically the action name,
and available actions followed by some dynamic content. The actions
contain a create, list, and search button and other action specific
actions. Right now those actions are defined in each page. I am trying
to factor that out and create an action partial which will be shared
amongst most of my controllers. How can I define a “default” list of
actions and then when needed override those defaults?