verypossible / atomic_cms

CMS for Atomic Asset components
1 stars 3 forks source link

Scaffolding messes up routes #44

Open jasontwong opened 9 years ago

jasontwong commented 9 years ago

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