Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
gitlab-ce
Repository
2f7f46b25655aa6f2c2a7756663c97ddb4491100
Switch branch/tag
gitlab-ce
app
models
graph
json_builder.rb
Find file
Blame
History
Permalink
Refactor: replace "render :json = graph.to_json" to view template(show.json.erb).
· 2f7f46b2
Sato Hiroyuki
authored
Mar 06, 2013
Because model shouldn't know about view logic.
2f7f46b2
json_builder.rb
6.97 KB
Edit
Web IDE
Replace json_builder.rb
×
Attach a file by drag & drop or
click to upload
local_assigns[:label_text] || Commit message
Replace json_builder.rb
Replace file
Cancel
A new branch will be created in your fork and a new merge request will be started.