mirror of
https://github.com/we-promise/sure.git
synced 2026-04-16 02:24:08 +00:00
* Add new settings routes and controllers * Add new settings view, restructure controllers and routes * Fix lint errors
10 lines
317 B
Ruby
10 lines
317 B
Ruby
module SettingsHelper
|
|
def next_setting(title, path)
|
|
render partial: "settings/nav_link_large", locals: { path: path, direction: "next", title: title }
|
|
end
|
|
|
|
def previous_setting(title, path)
|
|
render partial: "settings/nav_link_large", locals: { path: path, direction: "previous", title: title }
|
|
end
|
|
end
|