diff --git a/lib/library_helper.rb b/lib/library_helper.rb index 0db27eb..1a4bf01 100644 --- a/lib/library_helper.rb +++ b/lib/library_helper.rb @@ -34,10 +34,10 @@ module LibraryHelper ApplicationHelper ) - return library_html_structure({:name=>"", :version=>"", :license=>""}) if list_libraries.nil? + return library_html_structure({:name=>"", :version=>"", :license=>""}) if list_libraries.nil? lambdas_list = [] - + list_libraries.each do |library| lambdas_list << library_html_structure(library) end diff --git a/lib/license_helper.rb b/lib/license_helper.rb index 46e0b84..000c551 100644 --- a/lib/license_helper.rb +++ b/lib/license_helper.rb @@ -1,7 +1,5 @@ -module LicenseHelper - - def self.getListLicenses - LicenseInfo.all +module LicenseHelper + def self.getListLicenses + LicenseInfo.all end - end diff --git a/views/_main_software_editor_extras.html.erb b/views/_main_software_editor_extras.html.erb index c3f1c3c..ed561da 100644 --- a/views/_main_software_editor_extras.html.erb +++ b/views/_main_software_editor_extras.html.erb @@ -6,9 +6,9 @@ <%= context.profile.environment.default_hostname %>/ <%= text_field_tag(:name, context.profile.software_info.community.name) %> - +
|