Open fosfozol opened 6 years ago
Can you create a destination option after stop the counter?
LIKE http://[redmine]/issues/123/edit?time_entry[hours]=1.0 OR http://[redmine]/issues/123/time_entries/new?time_entry[hours]=1.0
https://github.com/speedy32129/time_logger/blob/3802595e4cf1900c02c930647b2ac258c710c1e5/app/controllers/time_loggers_controller.rb#L63-L79
I tryied change 'edit' to 'time_entries/new', but I got this error:
ActionController::UrlGenerationError (No route matches {:action=>"time_entries/new", :controller=>"issues", :id=>123, :time_entry=>{:hours=>1.00}}):
Tkz
+1 for this feature. There's an open pull request #50 for this.
Can you create a destination option after stop the counter?
LIKE http://[redmine]/issues/123/edit?time_entry[hours]=1.0 OR http://[redmine]/issues/123/time_entries/new?time_entry[hours]=1.0
https://github.com/speedy32129/time_logger/blob/3802595e4cf1900c02c930647b2ac258c710c1e5/app/controllers/time_loggers_controller.rb#L63-L79
I tryied change 'edit' to 'time_entries/new', but I got this error:
Tkz