-
Notifications
You must be signed in to change notification settings - Fork 253
Developing in API mode
Justin Coyne edited this page Jul 13, 2018
·
2 revisions
If you want to just make an API with Blacklight 7 (avoiding the UI components), do the following:
rails new my_api --api- Add
gem 'blacklight'to theGemfileandbundle install rails generate blacklight:install- Add
include ActionController::MimeRespondstoApplicationControllerin order to providerespond_to - Add a
app/views/catalog/index.html.erbto prevent blacklight from rendering the welcome message.