title: The action 'update' could not be found for Admin::PagesController
body: <p>I have a rails 3 app with the ActiveAdmin gem. I have made a page.rb file that shows the list of my website's static pages that the admin could update. For specific need, I made customs views. Everything works fine except when I try to update a page. I get the error <code>The action 'update' could not be found for Admin::PagesController</code>. However, my page.rb file own an update method ! Can someone explain me what have I done wrong ?</p>
  
  <p>My page.rb file: </p>
  
  <pre><code>ActiveAdmin.register_page 'Pages' do
    content only: :index do
      render 'index'
    end
  
    content only: :edit do
      render partial: 'edit'
    end
  
    controller do
      layout 'active_admin'
  
      def index
        @search = Page.includes(:translations).where("page_translations.locale='fr'").metasearch(params[:search])
        @pages = @search.page params[:page]
      end
  
      def edit
        @page = Page.find params[:id]
      end
    end
  
    def update
      @page = Page.find(params[:id])
      @page.update_attributes(params[:page])
      redirect_to(admin_path :notice =&gt; 'Coool')
      return
    end
  end
  </code></pre>
  
  <p>And the form that submit the page :</p>
  
  <pre><code>&lt;%= semantic_form_for([:admin, @page], url: admin_page_path, method: :put) do |f| %&gt;
    &lt;%= f.inputs do %&gt;
      &lt;%= f.input :permalink %&gt;
      &lt;%= f.globalize_fields_for :fr do |g| %&gt;
        &lt;%= g.text_field :name %&gt;
        &lt;%= g.text_area :content %&gt;
      &lt;% end %&gt;
      &lt;%= f.globalize_fields_for :en do |g| %&gt;
          &lt;%= g.text_field :name %&gt;
          &lt;%= g.text_area :content %&gt;
      &lt;% end %&gt;
    &lt;% end %&gt;
    &lt;%= f.button "Save" %&gt;
    &lt;%= link_to("Cancel", admin_pages_path) %&gt;
  &lt;% end %&gt;
  </code></pre>