Rails.application.routes.draw do mount RailsAdmin::Engine => '/admin', as: 'rails_admin' resources :employers do resource :like resource :retweet end root to: 'hello#index' # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html end