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

Feature Request: Work with Existing Models #393

Open
Goldcap opened this issue Jun 29, 2015 · 5 comments
Open

Feature Request: Work with Existing Models #393

Goldcap opened this issue Jun 29, 2015 · 5 comments

Comments

@Goldcap
Copy link

Goldcap commented Jun 29, 2015

This might be something that already works, but can I use ember-cli-admin to generate views on top of prior models? My guess is it's in there, but from the README I couldn't see how.

table-view-controller? I guess?

I could write something that would perhaps do all this, but wanted to check with you first to see if it made sense. Love the project! Super work!

@OpakAlex
Copy link
Member

If you want generate table views for models, only create controller with plural name. user -> users.js and extend it from table-view-controller.

@OpakAlex
Copy link
Member

@Goldcap
Copy link
Author

Goldcap commented Jun 29, 2015

Gotcha, thanks Alex. I'll probably fork this and do some damage later this week!

Also, I note that "ObjectController is deprecated to "Controller" in 1.11, so I'll keep an eye out for compat with 2.0, which I see you're working on. I might submit a quick pull request to update the Manual Installation notes if I find anything else there that's outdated.

@mojied
Copy link
Contributor

mojied commented Jul 1, 2015

Its cool. Its very easy and fast to create a new app by using ember-cli-admin. But you may get into a little trouble with the old routes or controllers now If you want to use ember-cli-admin in the old applications. I expect all of the resources generated by ember-cli-admin are under a separate namespace like padrino-admin or 'rails-admin`.

@OpakAlex
Copy link
Member

OpakAlex commented Jul 1, 2015

we keep working for 2.0 part. some issue.

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

3 participants