Skip to content

Commit

Permalink
Add i18n options handle to application controller - Root object
Browse files Browse the repository at this point in the history
  • Loading branch information
staszek committed Aug 8, 2010
1 parent 2428fc8 commit 0a34b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/easycrumbs/collection.rb
Expand Up @@ -81,7 +81,7 @@ def objects

# Return array of breadcrumbs object in right order
def make_breadcrumbs(options = {})
breadcrumbs = [Breadcrumb.new(ApplicationController.new)]
breadcrumbs = [Breadcrumb.new(ApplicationController.new, options)]
objects.each_with_index do |object, index|
options.merge!({:action => @action}) if index == objects.size - 1
options.merge!({:path => @pathes[index]})
Expand Down

0 comments on commit 0a34b0c

Please sign in to comment.