title: Rendering different views in one action
body: <p>I want to have 2 kinds of views for the same posts in my rails application. For instance - in one where a logged in user can update and edit the post, and in the other any user can just view it and comment on it or select it.</p>
  
  <p>How should I go about this? Do I need a separate class? I know I need a separate view for each, but how about the model and the controller?</p>