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

Scaffolding messes up routes #44

Open
jasontwong opened this issue Nov 4, 2015 · 0 comments
Open

Scaffolding messes up routes #44

jasontwong opened this issue Nov 4, 2015 · 0 comments
Assignees
Labels

Comments

@jasontwong
Copy link
Contributor

Here's the diff for routes after I run the scaffold.

   ActiveAdmin.routes(self)

   authenticate :admin_user, -> (u) { u.admin? } do
-    mount AtomicCms::Engine => "/atomic_cms", as: :atomic_cms
+    mount AtomicCms::Engine => "/atomic_cms"
+  resources :initiatives
+, as: :atomic_cms
   end

   # for posts
@jasontwong jasontwong added the bug label Nov 4, 2015
@samcdavid samcdavid self-assigned this Nov 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants