Created
September 24, 2012 22:19
-
-
Save anonymous/3778792 to your computer and use it in GitHub Desktop.
Revisions
-
There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ class FrontendController < ApplicationController def home render :layout => 'frontend' @services = Service.all end end 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ <% if client_signed_in? %> Signed in as <%= current_client.email %>. Not you? <%= link_to "Sign out", destroy_client_session_path, :method => :delete %> <% end %> <% @services.each do |service| %> <% end %>