Skip to content

Commit

Permalink
[webui] do not use cached attributes unless the attribute controller …
Browse files Browse the repository at this point in the history
…invalidates the cache
  • Loading branch information
coolo committed Mar 26, 2012
1 parent 10aecb2 commit 60c8228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/app/controllers/project_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def subprojects
end

def attributes
@attributes = find_cached(Attribute, {:project => @project.name}, :expires_in => 2.minutes)
@attributes = Attribute.find(:project => @project.name)
end

def new
Expand Down

0 comments on commit 60c8228

Please sign in to comment.