Sha256: ef544e8cfe12e0c90ed332c06252bb7b075b3778f5e9642368baaed63c16a22d
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
class Blog::Admin::DisqusSettingsController < Admin::BaseController def show @config = BlogConfiguration.current @preferences = ['disqus_shortname'] end def edit @config = BlogConfiguration.current @preferences = ['disqus_shortname'] end def update BlogConfiguration.current.update_attributes(params[:blog_configuration]) respond_to do |format| format.html { redirect_to admin_disqus_settings_path } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_essential_blog-0.1.0 | app/controllers/blog/admin/disqus_settings_controller.rb |
spree_essential_blog-0.1.0.rc1 | app/controllers/blog/admin/disqus_settings_controller.rb |