Created
September 15, 2008 23:13
-
-
Save fairchild/10963 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in routes.rb | |
map.resources :staff, :member => {:graph_code=>:get} | |
in controller, | |
@graph = open_flash_chart_object(500,300, graph_code_staff_path( {:title=>'Timesheet', :conditions=>@conditions})) | |
in view, error: | |
graph_code_staff_url failed to generate from {:title=>"Timesheet", :action=>"graph_code", :conditions=>"Sheet_Entry.sheet_date>'2008-03-17 16:13:10'", :controller=>"staff"}, expected: {:action=>"graph_code", :controller=>"staff"}, diff: {:title=>"Timesheet", :conditions=>"Sheet_Entry.sheet_date>'2008-03-17 16:13:10'"} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment