Refactor abilities. Added ProjectUpdate context. Fixed few bugs with namespaces
This commit is contained in:
parent
a1ffc673b9
commit
eb1004f789
18 changed files with 127 additions and 53 deletions
|
@ -29,7 +29,7 @@ class Project < ActiveRecord::Base
|
|||
attr_accessible :name, :path, :description, :default_branch, :issues_enabled,
|
||||
:wall_enabled, :merge_requests_enabled, :wiki_enabled, as: [:default, :admin]
|
||||
|
||||
attr_accessible :namespace_id, as: :admin
|
||||
attr_accessible :namespace_id, :owner_id, as: :admin
|
||||
|
||||
attr_accessor :error_code
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue