Improve channel, user and api_key models with basic scopes, correct references and protect attributes.
Simplify channels & user controllers and models, moving code to the models. Remove catch-all route and ensure all actions are specified, fixing url paths. Change clone to dup in feed_controller as using clone seems to affect the cloned object (problem only in ruby 1.9.3?)
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
<%= javascript_include_tag 'rest' %>
|
||||
<script type="text/javascript" src="/javascripts/rest.js"></script>
|
||||
|
||||
|
||||
<h2>
|
||||
<%= link_to t(:channels), channels_path %> »
|
||||
|
Reference in New Issue
Block a user