lib/shelly/app.rb in shelly-0.2.2 vs lib/shelly/app.rb in shelly-0.2.3
- old
+ new
@@ -205,10 +205,10 @@
def to_s
code_name
end
def edit_billing_url
- "#{shelly.shellyapp_url}/organizations/#{organization}/edit"
+ "#{shelly.shellyapp_url}/organizations/#{organization || code_name}/edit"
end
def open
Launchy.open("http://#{attributes["domain"]}")
end