edit

Ruby code posted
created at 26 May 19:20

Edit | Back
1
2
3
4
5
6
  # GET /news_items/1;edit
  def edit
    @news_item = NewsItem.find(params[:id])
    @all_districts = District.find(:all)
    @all_crime_types = CrimeType.find(:all)
  end
177 Bytes in 3 ms with coderay