Commit ea33a4db authored by Tim Zallmann's avatar Tim Zallmann

Change to license helper

parent 6bb465ca
...@@ -68,10 +68,10 @@ module LicenseHelper ...@@ -68,10 +68,10 @@ module LicenseHelper
end end
def upgrade_plan_url def upgrade_plan_url
if @project.owner.present? && @project.owner == @current_user if @project.group
profile_billings_path
else
group_billings_path(@project.group) group_billings_path(@project.group)
else
profile_billings_path
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment