Class: Boxroom::Folder::Cell::Show

Inherits:
BaseCell
  • Object
show all
Includes:
ActionView::Helpers::NumberHelper, Boxroom::FoldersHelper
Defined in:
app/concepts/boxroom/folder/cell/show.rb

Instance Method Summary collapse

Methods included from Boxroom::FoldersHelper

#breadcrumbs, #file_icon

Instance Method Details

#current_userObject



15
16
17
# File 'app/concepts/boxroom/folder/cell/show.rb', line 15

def current_user
  @options[:current_user]
end

#filesObject



11
12
13
# File 'app/concepts/boxroom/folder/cell/show.rb', line 11

def files
  @options[:files] || []
end

#folderObject



19
20
21
# File 'app/concepts/boxroom/folder/cell/show.rb', line 19

def folder
  model
end

#foldersObject



7
8
9
# File 'app/concepts/boxroom/folder/cell/show.rb', line 7

def folders
  @options[:folders] || []
end