This is one of many, many functions that is automagically instantiated by the 
Rails environment. In this case it is based on the repo.commit_compare route in 
config/routes.rb. However, why it is not found for you I cannot tell; that is 
by beyond my limited Ruby skills. All I know is that it works for us...

//Peter

From: [email protected] [mailto:[email protected]] On Behalf 
Of Okalany Daniel
Sent: den 28 november 2011 08:55
To: Gitorious
Subject: [gitorious] Missing Function: project_repository_commit_compare_path

Hello All,
There is a function 'project_repository_commit_compare_path' called at 
'app/helpers/trees_helper.rb'. The rails app complains that its non existent, 
and when i do a search for it,
in the mainline directory:
$ grep -H -r project_repository_commit_compare_path .
./app/helpers/trees_helper.rb:        
project_repository_commit_compare_path(project, repository,
./app/helpers/event_rendering_helper.rb:    diff_url = 
project_repository_commit_compare_path(event.target.project, event.target, 
:from_id => first_sha, :id => last_sha)
./log/production.log:ActionView::TemplateError (undefined method 
`project_repository_commit_compare_path' for #<ActionView::Base:0xb5fdaca4>) on 
line #103 of app/views/trees/show.html.erb:


There is no definition for it. Any idea where this function definition is?

Daniel.
--
To post to this group, send email to 
[email protected]<mailto:[email protected]>
To unsubscribe from this group, send email to
[email protected]<mailto:[email protected]>

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to