Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding Default ResourceController #50

Closed
offmadisonave opened this issue May 17, 2011 · 1 comment
Closed

Overriding Default ResourceController #50

offmadisonave opened this issue May 17, 2011 · 1 comment

Comments

@offmadisonave
Copy link

Is it possible to override the default resource controller? I am looking to render a page tree (via awesome_nested_set), and am running into some difficulty specifying an action that will allow me to create a new Page instance that is a child of another page.

@gregbell
Copy link
Contributor

The controller is available to you via:

ActiveAdmin.register Post do

  controller do
    # This is evaluated in Admin::PostsController
  end

end

@gregbell gregbell reopened this May 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant