Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
3e71af9f
Commit
3e71af9f
authored
Oct 07, 2013
by
Izaak Alpert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix style issues
Change-Id: I1ffe18414b7f6eae38d7860a8e3b64a9a185273f
parent
9d5bb5a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
app/observers/project_observer.rb
app/observers/project_observer.rb
+2
-3
spec/observers/users_project_observer_spec.rb
spec/observers/users_project_observer_spec.rb
+1
-1
No files found.
app/observers/project_observer.rb
View file @
3e71af9f
...
...
@@ -16,10 +16,9 @@ class ProjectObserver < BaseObserver
end
if
project
.
wiki_enabled?
#force the creation of a wiki,
GollumWiki
.
new
(
project
,
project
.
owner
).
wiki
#force the creation of a wiki,
GollumWiki
.
new
(
project
,
project
.
owner
).
wiki
end
end
def
after_update
(
project
)
...
...
spec/observers/users_project_observer_spec.rb
View file @
3e71af9f
...
...
@@ -88,4 +88,4 @@ describe UsersProjectObserver do
end
end
end
end
end
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment