Commit 315fe5d4bde3f8a78bc35f711e22d11efaeddaa1
Fix deprecation warnings in StationHelper#title
| |   |
| 17 | 17 | elsif @title |
| 18 | 18 | @title |
| 19 | 19 | elsif @contents |
| container ? |
| t(:other_in_container, :scope => controller.controller_name.singularize, :container => container.name) : |
| current_container ? |
| t(:other_in_container, :scope => controller.controller_name.singularize, :container => current_container.name) : |
| 22 | 22 | t(:other, :scope => controller.controller_name.singularize) |
| 23 | 23 | elsif @resources |
| 24 | 24 | t(:other, :scope => controller.controller_name.singularize) |
| … | … | |
| 56 | 56 | # will link to current request_uri + .atom |
| 57 | 57 | # |
| 58 | 58 | # You can pass url arguments |
| # atom_link(container, Content.new) |
| # atom_link(current_container, Content.new) |
| 60 | 60 | # |
| 61 | 61 | # You must have <tt>yield(:headers)</tt> in your layout for using this helper method |
| 62 | 62 | def atom_link_header(*args) |