Class: Depot::FilefoldersController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Depot::FilefoldersController
- Defined in:
- app/controllers/depot/filefolders_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 |
# File 'app/controllers/depot/filefolders_controller.rb', line 5 def show @folder = Depot::Filefolder.find params[:id] @my_files = Depot::File.paginate(:per_page => 10, :page => params[:page], :order => "created_at DESC", :conditions => ["filefolder_id=? and state=?", params[:id], 'public']) end |