mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* Define layout method * Use with_sidebar method --------- Co-authored-by: Pranav Babu <babu@maindeck.io>
11 lines
198 B
Ruby
11 lines
198 B
Ruby
class Help::ArticlesController < ApplicationController
|
|
layout :with_sidebar
|
|
|
|
def show
|
|
@article = Help::Article.find(params[:id])
|
|
|
|
unless @article
|
|
head :not_found
|
|
end
|
|
end
|
|
end
|