mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-30 13:10:42 +00:00
Make versions private for privacy reasons
This commit is contained in:
parent
b27ef8c465
commit
1a02abbf5b
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ class VersionsController < ApplicationController
|
|||
end
|
||||
|
||||
def show
|
||||
raise AccessError unless cuser and cuser.admin?
|
||||
@version = @article.versions.find params[:id]
|
||||
@nobody = true
|
||||
render 'articles/version'
|
||||
|
|
Loading…
Reference in a new issue