Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ gem "pundit"

gem 'flickraw-cached'

gem 'api_flashcards', git: 'https://github.com/ZhmAA/api_flashcards'

group :development, :test do
gem 'rspec-rails'
gem 'capybara'
Expand Down
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ GIT
railties (>= 3.2, < 5.1)
responders

GIT
remote: https://github.com/ZhmAA/api_flashcards
revision: 48f57e5ec3c6cb7d3dbd7f4c877c3891058f6dac
specs:
api_flashcards (0.1.0)
rails (~> 5.0.0, >= 5.0.0.1)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -314,6 +321,7 @@ PLATFORMS

DEPENDENCIES
activeadmin!
api_flashcards!
byebug
capybara
carrierwave
Expand Down
2 changes: 2 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
ActiveAdmin.routes(self)
filter :locale

mount ApiFlashcards::Engine, at: "/api"

root 'main#index'

scope module: 'home' do
Expand Down