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

How to display a tableless model on the rails admin dashboard #2924

Closed
ektaverma1 opened this issue Sep 1, 2017 · 2 comments
Closed

How to display a tableless model on the rails admin dashboard #2924

ektaverma1 opened this issue Sep 1, 2017 · 2 comments

Comments

@ektaverma1
Copy link

Hi Everyone,

I am trying to display a particular model (which does not have backend table ) but unable to do so.

The rails admin code does not picks it up and does not gets displayed on dashboard.

I have already defined the model configuration inside RailsAdmin initializer file.

Please suggest what could be missing here.

Thanks in advance.

@iSarCasm
Copy link

Where is that model stored than? How would you like to interact with it in RailsAdmin?

@ektaverma1
Copy link
Author

ektaverma1 commented Sep 13, 2017

@iSarCasm currently I have an empty Active Record table created in database for rails admin to pick it up and display as link on dashboard.

So basically I have a custom action that performs some operations on AWS s3. I just want to add a link on the admin dashboard that would redirect to that custom action view.

For instance, when a user clicks on 'Partners' link below, it should be redirected to my custom action and not the default list page. I don't want the list action either.

github

Thanks

@mshibuya mshibuya closed this as completed May 2, 2019
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