Browse Source

Remove unneeded if

eperez-timeinput
Jason Denney 12 years ago
parent
commit
6d2e7686d6
  1. 2
      app/components/app_tab_panel.rb

2
app/components/app_tab_panel.rb

@ -3,7 +3,7 @@ class AppTabPanel < Netzke::Basepack::TabPanel
action :sign_out do |c| action :sign_out do |c|
c.icon = :door_out c.icon = :door_out
c.text = "Exit" if controller.current_user c.text = "Exit"
end end
def configure(c) def configure(c)

Loading…
Cancel
Save