diff --git a/Gemfile b/Gemfile index 5c1311a6e..eeff0b925 100644 --- a/Gemfile +++ b/Gemfile @@ -120,7 +120,7 @@ gem 'devise-guests', '~> 0.6' gem 'devise_invitable', '~> 2.0.0' # Reporting -# gem 'blazer' +gem 'blazer' gem 'haml' gem 'chronic' diff --git a/Gemfile.lock b/Gemfile.lock index 8b11ea8b8..0637f7d9b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -159,6 +159,12 @@ GEM jquery-rails rails (>= 3.0) tether-rails + blazer (3.0.3) + activerecord (>= 6.1) + chartkick (>= 5) + csv + railties (>= 6.1) + safely_block (>= 0.4) bootsnap (1.9.4) msgpack (~> 1.0) bootstrap (4.6.2) @@ -182,6 +188,7 @@ GEM capybara-selenium (0.0.6) capybara selenium-webdriver + chartkick (5.0.5) chosen-rails (1.10.0) coffee-rails (>= 3.2) railties (>= 3.0) @@ -205,6 +212,7 @@ GEM connection_pool (2.4.1) content_disposition (1.0.0) crass (1.0.6) + csv (3.2.8) database_cleaner (2.0.2) database_cleaner-active_record (>= 2, < 3) database_cleaner-active_record (2.1.0) @@ -621,6 +629,7 @@ GEM ruby-vips (2.2.0) ffi (~> 1.12) rubyzip (2.3.2) + safely_block (0.4.0) sanitize (6.1.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) @@ -766,6 +775,7 @@ DEPENDENCIES blacklight (~> 7.33.0) blacklight_advanced_search! blacklight_range_limit (~> 7.0.0) + blazer bootsnap (~> 1.9.3) bootstrap (~> 4.0) byebug diff --git a/config/routes.rb b/config/routes.rb index 04fb994fe..fc90c4727 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -254,9 +254,9 @@ mount ActionCable.server => "/cable" # @TODO - # authenticate :user, ->(user) { user } do - # mount Blazer::Engine, at: "blazer" - # end + authenticate :user, ->(user) { user } do + mount Blazer::Engine, at: "blazer" + end end # Blog redirects