title: Best way to make Admin pages in CodeIgniter?
body: <p>I'm working on an app in CodeIgniter, and I want to have admin pages for several of the objects in the application, and I'm wondering what would be the better way to put these into an MVC structure.</p>
  
  <p><strong>Idea 1:</strong>
   In each controller, have an admin function, and add all of the admin pages I would like into that function.
  example URL: <code>domain.com/articles/admin</code></p>
  
  <p><strong>Idea 2</strong>
   Make a new admin controller, which would have to reference many different models, and put all of the admin pages in there.
  example URL: <code>domain.com/admin/articles</code></p>
  
  <p>Which way would be better?</p>
  
  <p><em>Edit for clarification:</em> By admin functionality, I mean being able to do the basic CRUD actions on any object, and be able to display a list of all of said object.</p>