Upgraded from Phoenix 1.1.6 to 1.2 and now I get a CompileError
<p>I upgraded Phoenix from 1.1.6 to 1.2 and now I'm getting this weird CompileError.</p>

<pre><code>(CompileError) web/views/main_view.ex:2: module Rejack.Router.Helpers is not loaded and could not be found
</code></pre>

<p>I compared a freshly generated Phoenix 1.2 project file by file to mine and I couldn't find any major differences.</p>

<p>The <code>view</code> part my <code>web.ex</code> looks like this:</p>

<pre><code>def view do
  quote do
    require Logger

    use Phoenix.View, root: "web/templates"

    # Import convenience functions from controllers
    import Phoenix.Controller, only: [get_csrf_token: 0, get_flash: 2, view_module: 1]

    # Use all HTML functionality (forms, tags, etc)
    use Phoenix.HTML

    import Rejack.Router.Helpers
    import Rejack.ErrorHelpers
    import Rejack.Gettext
  end
end
</code></pre>

<p>and the view is also pretty standard</p>

<pre><code>defmodule Rejack.MainView do
  use Rejack.Web, :view
end
</code></pre>

<p>Any idea what is causing this?</p>

<p><strong>Edit:</strong>
The only major difference to a regular Phoenix project is that I'm not using <code>postgrex</code>, but <code>mongodb_ecto</code> (and therefor I'm stuck with <code>phoenix_ecto</code> 2.x).</p>