Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When trying to find char layout for middleware messaging return correct file path #15872

Merged
merged 1 commit into from
Aug 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
When trying to find char layout for middleware messaging return corre…
…ct file path
  • Loading branch information
karelhala committed Aug 22, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit a4ec47086a60b3b0a3261a06413b6aae95c70811
2 changes: 1 addition & 1 deletion app/models/middleware_messaging.rb
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ def chart_report_name
end

def chart_layout_path
"#{self.class.name.gsub(/::/, '_')}_#{messaging_type.parameterize(:separator => '_')}"
"#{self.class.name.demodulize}_#{messaging_type.parameterize(:separator => '_')}"
end

def self.supported_models