diff --git a/Gemfile b/Gemfile index a28b8fa31..6ec04a0eb 100644 --- a/Gemfile +++ b/Gemfile @@ -33,9 +33,10 @@ gem 'therubyracer', platforms: :ruby gem 'jquery-validation-rails', '~> 1.13.1' # validate on client side # view helpers -gem 'kaminari', '~> 0.16.3' # pagination -gem 'nprogress-rails', '~> 0.1.6.5' # visual loader -gem 'html5_validators', '~> 1.1.3' # model requements now automatically on html form +gem 'kaminari', '~> 0.16.3' # pagination +gem 'nprogress-rails', '~> 0.1.6.5' # visual loader +gem 'html5_validators', '~> 1.1.3' # model requements now automatically on html form +gem 'coderay', '~> 1.1.0' # xml console visualize # rights gem 'devise', '~> 3.4.1' # authenitcation diff --git a/Gemfile.lock b/Gemfile.lock index 8fb034416..8511fafc0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -498,6 +498,7 @@ DEPENDENCIES bundler-audit (~> 0.3.1) cancancan (~> 1.9.2) capybara (~> 2.4.1) + coderay (~> 1.1.0) coffee-rails (~> 4.1.0) countries (~> 0.10.0) database_cleaner (~> 1.3.0) diff --git a/app/controllers/registrar/xml_consoles_controller.rb b/app/controllers/registrar/xml_consoles_controller.rb index 341c16b59..83c20383b 100644 --- a/app/controllers/registrar/xml_consoles_controller.rb +++ b/app/controllers/registrar/xml_consoles_controller.rb @@ -1,6 +1,4 @@ class Registrar::XmlConsolesController < Registrar::DeppController # EPP controller - require 'coderay' - def show authorize! :view, :registrar_xml_console end