Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

… bug
  • Loading branch information...
commit 181e63451e7ba670c80cea3d4d9349e9fc9810c9 1 parent 9f6c8c1
Julian Cheal authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 app/controllers/files_controller.rb
View
6 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.
Something went wrong with that request. Please try again.