title: rails 4 dry up controller with single render error
body: <p>Maybe this is overkill, I but I am trying to use an after_filter to dry up this controller.  To my dismay, it is blowing up and I can not seem to figure out why.  To get it working, I had to add the render in each method.  </p>
  
  <p>Thoughts?</p>
  
  <p><strong>Error Message</strong></p>
  
  <blockquote>
    <p>Render and/or redirect were called multiple times in this action.
    Please note that you may only call render OR redirect, and at most
    once per action. Also note that neither redirect nor render terminate
    execution of the action, so if you want to exit an action after
    redirecting, you need to do something like "redirect_to(...) and
    return".</p>
  </blockquote>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>class ErrorController &lt; ApplicationController
    after_filter :render_me
  
    def javascript_disabled
      @title = 'Error! Javascript Disabled'
    end
  
    def system_requirements
      @title = 'Error! System Requirements'
    end
  
    def browser_upgrade_required
      @title = 'Error! Browser Upgrade Required'
    end
  
    private
  
    def render_me
      render 'error/system_requirements', layout: 'error'
    end
  
  end
  </code></pre>
  
  <p><strong>Route</strong></p>
  
  <pre><code>  scope 'error' do
      get '/javascript-disabled', to: 'error#javascript_disabled'
      get '/software-requirements', to: 'error#system_requirements'
      get '/browser-upgrade-required', to: 'error#browser_upgrade_required'
    end
  </code></pre>