diff options
| author | Zog | 2018-01-16 16:08:19 +0100 |
|---|---|---|
| committer | Zog | 2018-01-25 17:17:59 +0100 |
| commit | 305c10faa98bcf157ca114293b634da32a16cc37 (patch) | |
| tree | 0118b32900fb62243b68aa1693cf50dcddd03d78 /lib | |
| parent | 936650bb189104bf9795e0a7e9b5b8044e59a652 (diff) | |
| download | chouette-core-305c10faa98bcf157ca114293b634da32a16cc37.tar.bz2 | |
Refs #5586 @1h; Ensure retrocompatibility
And remove snapshots (we don't need it anymore)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/af83/enhanced_decorator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/af83/enhanced_decorator.rb b/lib/af83/enhanced_decorator.rb index 41cc17f85..ad9a75000 100644 --- a/lib/af83/enhanced_decorator.rb +++ b/lib/af83/enhanced_decorator.rb @@ -58,6 +58,7 @@ module AF83::EnhancedDecorator end def action_links action=:index, opts={} + @action = action&.to_sym links = AF83::Decorator::ActionLinks.new links: self.class.action_links(action), context: self, action: action group = opts[:group] links = links.for_group opts[:group] |
