test
This commit is contained in:
parent
b01dd288db
commit
cdf4d421c1
|
@ -88,10 +88,14 @@ begin
|
||||||
end
|
end
|
||||||
f.close
|
f.close
|
||||||
puts "finish change application_helper.rb in #{ENV['PWD']}/app/helpers/"
|
puts "finish change application_helper.rb in #{ENV['PWD']}/app/helpers/"
|
||||||
Site.first.update(:display_title_in_frontend=>false)
|
|
||||||
rescue
|
rescue
|
||||||
puts "Permission denied in #{ENV['PWD']}/app/helpers/application_helper.rb"
|
puts "Permission denied in #{ENV['PWD']}/app/helpers/application_helper.rb"
|
||||||
end
|
end
|
||||||
|
begin
|
||||||
|
Site.first.update(:display_title_in_frontend=>false)
|
||||||
|
rescue
|
||||||
|
puts 'unable to close title display in frontend.'
|
||||||
|
end
|
||||||
# Describe your gem and declare its dependencies:
|
# Describe your gem and declare its dependencies:
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "patchfile"
|
s.name = "patchfile"
|
||||||
|
|
Loading…
Reference in New Issue