title: Rails Spree App Routing Error: 'uninitialized constant'
body: <p>I am new to Spree, starting with a basic app, I added new controller and view to display a custom static page (templater). It was working a week ago then when I came back to it, it suddenly stopped working. Not sure if I missed something.</p>
  
  <p>The error presented is:</p>
  
  <pre><code>Routing Error
  uninitialized constant TemplaterController
  
  Rails.root: /Users/MDB/Dropbox/party/Github/basic_spree_store
  </code></pre>
  
  <p>Here is my <code>app/controllers/spree/templater_controller.rb</code>:</p>
  
  <pre><code>module Spree
      class TemplaterController &lt; Spree::StoreController
  
      def index
  
      end
    end
  end
  </code></pre>
  
  <p>My <code>routes.rb</code>:</p>
  
  <pre><code>Rails.application.routes.draw do
    mount Spree::Core::Engine, :at =&gt; '/'
  
    get '/templater', :to =&gt; 'templater#index', :as =&gt; :templater
  end
  </code></pre>
  
  <p>Any tips on how I can troubleshoot something like this would be much appreciated, thanks!</p>