Skip to content

Commit

Permalink
Fix some of the lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hellcp committed Mar 25, 2022
1 parent 49dff42 commit d71e323
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -9,7 +9,7 @@ gem 'sprockets-rails'
# as application server
gem 'puma'
# as templating engine
gem "haml-rails", "~> 2.0"
gem 'haml-rails', '~> 2.0'

# for appdata redirections (https -> http)
gem 'open_uri_redirections'
Expand Down
4 changes: 2 additions & 2 deletions app/controllers/download_controller.rb
Expand Up @@ -5,7 +5,7 @@ class DownloadController < ObsController

# display documentation
def doc
@build_service= true
@build_service = true
end

def appliance
Expand Down Expand Up @@ -138,7 +138,7 @@ def ymp_without_arch_and_version

def render_page(page_template)
@box_title = @page_title
@build_service= true
@build_service = true
respond_to do |format|
format.html { render page_template, layout: 'application' }
format.iframe do
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Expand Up @@ -67,6 +67,6 @@ def search_for_description(pkgname, packages = [])
end

def icon(name, size = nil)
render(partial: "icons/#{name}", formats: :svg, locals: {size: size})
render(partial: "icons/#{name}", formats: :svg, locals: { size: size })
end
end

0 comments on commit d71e323

Please sign in to comment.