Permalink
Browse files

changed @file.project_folder to @file.folder. Fixing method not found…

… bug
  • Loading branch information...
1 parent 9f6c8c1 commit 181e63451e7ba670c80cea3d4d9349e9fc9810c9 Julian Cheal committed Feb 28, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 app/controllers/files_controller.rb
@@ -95,10 +95,12 @@ def show
@content_for_sidebar = 'index_sidebar'
@pagination = []
- @folder = @file.project_folder
+ # project_folder changed to just folder
+ # @folder = @file.project_folder
+ @folder = @file.folder
@last_revision = @revisions[0]
- @current_folder = @file.project_folder
+ # @current_folder = @file.project_folder
@order = nil
@page = nil
@folders = @active_project.folders

0 comments on commit 181e634

Please sign in to comment.