Commit b706b378c41c0f838eb5a36e7e257f7f873068a4

Authored by AntonioTerceiro
1 parent a6a70bfe

ActionItem8: aaaaaaaaaaahhhhhhhhhhhh

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@164 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/controllers/application.rb
@@ -36,7 +36,6 @@ class ApplicationController < ActionController::Base @@ -36,7 +36,6 @@ class ApplicationController < ActionController::Base
36 36
37 def self.acts_as_virtual_community_admin_controller 37 def self.acts_as_virtual_community_admin_controller
38 before_filter :load_admin_controller 38 before_filter :load_admin_controller
39 - layout 'virtual_community_admin'  
40 end 39 end
41 def load_admin_controller 40 def load_admin_controller
42 # TODO: check access control 41 # TODO: check access control
app/helpers/application_helper.rb
@@ -95,7 +95,7 @@ module ApplicationHelper @@ -95,7 +95,7 @@ module ApplicationHelper
95 end 95 end
96 96
97 def login_box 97 def login_box
98 - link_to _('Login'), :controller => 'account', :action => 'login' 98 + content_tag('div', (link_to _('Login'), :controller => 'account', :action => 'login'), :class => 'login_box')
99 end 99 end
100 100
101 # FIXME 101 # FIXME