Skip to content

Commit

Permalink
rubocopisation
Browse files Browse the repository at this point in the history
  • Loading branch information
mose committed Feb 23, 2016
1 parent b499fa4 commit f96ff72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def check_authorization

when 'http'

use Rack::Auth::Basic, "Puppet Private Access" do |user, pass|
use Rack::Auth::Basic, 'Puppet Private Access' do |user, pass|
user == settings.configdata['http_auth']['username'] &&
pass == settings.configdata['http_auth']['password']
end
Expand Down Expand Up @@ -124,7 +124,7 @@ def check_authorization
@username = check_authorization
hieracles_config = prepare_config(base)
@nodes = Hieracles::Registry.nodes(hieracles_config)
erb :nodes
erb :nodes
end

get %r{^/?([-_\.a-zA-Z0-9]+)?/farms} do |base|
Expand Down

0 comments on commit f96ff72

Please sign in to comment.