ika re-redesign module widget
This commit is contained in:
1 parent
ba75c02622
commit
9edf0dca54
9 files changed
+97
-51
No files matched your search
@@ -54,8 +54,14 @@ module ApplicationHelper
|
||||
raw(formatted_messages.join)
|
||||
end
|
||||
|
||||
def link_back
|
||||
link_to t('back'), get_go_back, :class => 'nav'
|
||||
def link_back(custom_class=nil)
|
||||
case custom_class
|
||||
when nil
|
||||
link_to t('back'), get_go_back, :class => 'nav'
|
||||
else
|
||||
link_to t('back'), get_go_back, :class => custom_class
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
# Clean the link back
|
||||
|
||||
Reference in new issue
Block a user