"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/controllers/workflows_controller.rb" between
redmine-4.1.0.tar.gz and redmine-4.1.1.tar.gz

About: Redmine is a flexible project management and bug-tracking web application (using the Ruby on Rails framework). It supports also project wikis and forums, documents management, and multiple version control systems.

workflows_controller.rb  (redmine-4.1.0):workflows_controller.rb  (redmine-4.1.1)
skipping to change at line 123 skipping to change at line 123
def find_trackers_roles_and_statuses_for_edit def find_trackers_roles_and_statuses_for_edit
find_roles find_roles
find_trackers find_trackers
find_statuses find_statuses
end end
def find_roles def find_roles
ids = Array.wrap(params[:role_id]) ids = Array.wrap(params[:role_id])
if ids == ['all'] if ids == ['all']
@roles = Role.sorted.to_a @roles = Role.sorted.select(&:consider_workflow?)
elsif ids.present? elsif ids.present?
@roles = Role.where(:id => ids).to_a @roles = Role.where(:id => ids).to_a
end end
@roles = nil if @roles.blank? @roles = nil if @roles.blank?
end end
def find_trackers def find_trackers
ids = Array.wrap(params[:tracker_id]) ids = Array.wrap(params[:tracker_id])
if ids == ['all'] if ids == ['all']
@trackers = Tracker.sorted.to_a @trackers = Tracker.sorted.to_a
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)