Generating the reviewt model
generating the controller and changing routes
I has added detail(show edit destroy create) at  controller and added belongs_to :restaurant :user
I added information at views
I has added before_filter at reviews_controller.rb
correcting typos
I successed to display the pages
I fixed conflict