app/controllers/decidim/meetings/meetings_controller.rb in decidim-meetings-0.10.1 vs app/controllers/decidim/meetings/meetings_controller.rb in decidim-meetings-0.11.0.pre1
- old
+ new
@@ -23,11 +23,11 @@
end
private
def meeting
- @meeting ||= Meeting.where(feature: current_feature).find(params[:id])
+ @meeting ||= Meeting.where(component: current_component).find(params[:id])
end
def meetings
@meetings ||= paginate(search.results)
end
@@ -48,10 +48,10 @@
category_id: ""
}
end
def context_params
- { feature: current_feature, organization: current_organization }
+ { component: current_component, organization: current_organization }
end
end
end
end