uninitialized constant Reservations

hi im having a bit trouble in my application im new in ROR development i made a static page where my function rooms of my reservation application are showed and can be add in in the reservation_function_room(line item of reservation functionroom) it raises uninitialized constant Reservations cant figure out whats wrong very thanks in advance thanks

page-static pages class PagesController < ApplicationController

  def functionroom     @reservation = Reservation.find(params[:reservation_id])     @function_room = FunctionRoom.all   end end

The most useful thing you could tell us is which line of code generates the error. Also post the full error message and stack trace.


Colin Law wrote in post #1053624: