.. | ||
auxiliary.rb | ||
balsamiq.rb | ||
base.rb | ||
binary_stl.rb | ||
changelog.rb | ||
client_side.rb | ||
contributing.rb | ||
download.rb | ||
empty.rb | ||
gitlab_ci_yml.rb | ||
image.rb | ||
license.rb | ||
markup.rb | ||
notebook.rb | ||
pdf.rb | ||
readme.rb | ||
rich.rb | ||
route_map.rb | ||
server_side.rb | ||
simple.rb | ||
sketch.rb | ||
static.rb | ||
svg.rb | ||
text.rb | ||
text_stl.rb | ||
video.rb |
module BlobViewer class Readme < Base include Auxiliary include Static self.partial_name = 'readme' self.file_types = %i(readme) self.binary = false def visible_to?(current_user) can?(current_user, :read_wiki, project) end end end