Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def show
- #@bars = @city.bars(:order => "map_clicks, rand()").paginate(:page => params[:page], :per_page => $per_page)
- @bars = @city.bars.paginate(:page => params[:page], :per_page => 5)
- end
Add Comment
Please, Sign In to add comment