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

Default /admin page when no models or dashboards exist #1186

Closed
alvinsteph opened this issue Jul 1, 2018 · 4 comments
Closed

Default /admin page when no models or dashboards exist #1186

alvinsteph opened this issue Jul 1, 2018 · 4 comments

Comments

@alvinsteph
Copy link

alvinsteph commented Jul 1, 2018

hi administrate:install doesn't create everything i need to run administrate prpele this is what i get i my terminal:

alvin@alvin-virtual-machine:~/myapp$ rails g administrate:install
Running via Spring preloader in process 22931
identical app/controllers/admin/application_controller.rb

The command should create more files right ?????

on the wb browser this is what i get 👍

Routing Error
No route matches [GET] "/admin"

Rails.root: /home/alvin/myapp
Application Trace | Framework Trace | Full Trace

@computer045
Copy link

I have this problem on a clean install of ubuntu 18.04, ruby 2.5.1 and rails 5.2.
Only the application_controller.rb file is added. I can add the the views with a rails g administrate:views, but the routes are not added when running rails g administrate:routes.

@nickcharlton
Copy link
Member

You'll not find any routes or dashboards created if you don't have any models. Do you still see this if you have models?

@c4lliope
Copy link
Contributor

Hm, maybe we could set up a default /admin route when no dashboards are available?

It would be nice if people could bake in Administrate with a clean boot of Rails.

@c4lliope c4lliope changed the title help administrate is install but i dont get the web UI Default /admin page when no models or dashboards exist May 20, 2019
@c4lliope
Copy link
Contributor

Conversation is still happening at #186!

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

4 participants