`scope :api` in routes.rb
scope :apiin routes.rb