Merge branch 'feature/widgets' of https://dev.finn.de/git/reporting-engine into feature/widgets
commit
0bd5bbdcda
@ -1,3 +1,7 @@ |
||||
class Widget::Controls < Widget::Base |
||||
extend ProactiveAutoloader |
||||
|
||||
def cache_key |
||||
"#{super}#{@query.new_record? ? 1 : 0}" |
||||
end |
||||
end |
||||
|
@ -1,8 +1,8 @@ |
||||
## |
||||
# Usgae: render_widget Widget::Controls::Help, :text |
||||
# Usage: render_widget Widget::Help, :text |
||||
# |
||||
# Where :text is a i18n key. |
||||
class Widget::Controls::Help < Widget::Base |
||||
class Widget::Help < Widget::Base |
||||
dont_cache! |
||||
|
||||
def render |
Loading…
Reference in new issue