Skip to content

Instantly share code, notes, and snippets.

@jaake
Created October 12, 2014 23:16
Show Gist options
  • Save jaake/97c327f377cf4f0f89fc to your computer and use it in GitHub Desktop.
Save jaake/97c327f377cf4f0f89fc to your computer and use it in GitHub Desktop.
Rails fails to pass in variables from controller:
class HomeController < ApplicationController
end
def index
end
def menu
@drinks = DrinkPanel.all
@foods = FoodPanel.all
end
def news
end
def info
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment