lib/doggy/cli/edit.rb in doggy-2.0.28 vs lib/doggy/cli/edit.rb in doggy-2.0.29
- old
+ new
@@ -7,9 +7,10 @@
@param = param
end
def run
resource = resource_by_param
+ resource.read_only = false
return Doggy.ui.error("Could not find resource with #{ @param }") unless resource
Dir.chdir(File.dirname(resource.path)) do
if resource.class.to_s.downcase =~ /dashboard/
forked_resource = fork(resource)