diff --git a/Gemfile b/Gemfile index f97d42cdfc..917b3d2941 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,7 @@ gem 'puma' gem 'hamlit-rails' gem 'pg' +gem 'pghero' gem 'dotenv-rails' gem 'font-awesome-rails' diff --git a/Gemfile.lock b/Gemfile.lock index c9756f057d..ae163a1b24 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -197,6 +197,8 @@ GEM parser (2.3.1.2) ast (~> 2.2) pg (0.18.4) + pghero (1.6.2) + activerecord powerpack (0.1.1) pry (0.10.4) coderay (~> 1.1.0) @@ -403,6 +405,7 @@ DEPENDENCIES paperclip (~> 4.3) paperclip-av-transcoder pg + pghero pry-rails puma rabl diff --git a/config/routes.rb b/config/routes.rb index 8f9f737051..4921d55f03 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,6 +5,7 @@ Rails.application.routes.draw do authenticate :user, lambda { |u| u.admin? } do mount Sidekiq::Web => '/sidekiq' + mount PgHero::Engine, at: 'pghero' end use_doorkeeper do