mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-02-28 16:53:23 -05:00
Remove unneeded if
This commit is contained in:
parent
9021294c4b
commit
6d2e7686d6
@ -3,7 +3,7 @@ class AppTabPanel < Netzke::Basepack::TabPanel
|
||||
|
||||
action :sign_out do |c|
|
||||
c.icon = :door_out
|
||||
c.text = "Exit" if controller.current_user
|
||||
c.text = "Exit"
|
||||
end
|
||||
|
||||
def configure(c)
|
||||
|
Loading…
x
Reference in New Issue
Block a user