Created
October 12, 2014 23:16
-
-
Save jaake/97c327f377cf4f0f89fc to your computer and use it in GitHub Desktop.
Rails fails to pass in variables from controller:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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