Commit 37ce638c authored by blackst0ne's avatar blackst0ne

Use dig

parent 42151a15
- page_title 'New Project'
- header_title "Projects", dashboard_projects_path
- visibility_level = params.try(:[], :project).try(:[], :visibility_level) || default_project_visibility
- visibility_level = params.dig(:project, :visibility_level) || default_project_visibility
.project-edit-container
.project-edit-errors
......
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