Created
September 24, 2013 21:20
-
-
Save rchrand/6691431 to your computer and use it in GitHub Desktop.
Rails problems
This file contains 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
<h1>Welcome to INDEX! </h1> | |
<% @user.each do |m| %> | |
<p>Email: <%= m.email %></p> | |
<br /> | |
<% end %> |
This file contains 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
Authapp::Application.routes.draw do | |
resources :users | |
mount Refinery::Core::Engine, :at => '/' | |
end |
This file contains 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 MembersController < ApplicationController | |
def index | |
@member = Member.all | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment