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

Make api base ready for fullstack #526

Merged
merged 3 commits into from
Nov 24, 2023
Merged

Conversation

santib
Copy link
Member

@santib santib commented Nov 23, 2023

1. Remove api_only config

Revert https://github.com/rootstrap/rails_api_base/pull/253/files. We aren't getting any benefit from it.
Actually, our app is not api only, we still are loading middlewares because they are needed for ActiveAdmin.

2. Add default application layout

Every Rails app comes with one https://github.com/rails/rails/blob/main/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt
It will be helpful if we ever want to develop an HTML page outside the admin site.

3. Keep application and admin CSS separate

We don't want Arctic Admin styles to leak into application CSS, for that reason, application CSS should go into the app/assets/stylesheets/application/ directory

@santib santib requested a review from a team November 23, 2023 18:50
@santib santib merged commit 8836e91 into main Nov 24, 2023
3 checks passed
@santib santib deleted the make-api-base-ready-for-fullstack branch November 24, 2023 13:15
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

Successfully merging this pull request may close these issues.

7 participants