Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f5e65756f45b
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 94a1019f9c1e
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 30, 2015

  1. Copy the full SHA
    8acb6f5 View commit details
  2. Merge pull request #1032 from artost/server-unconfigured-main-exception

    raise server exception for unconfigured main asset path
    elia committed Jul 30, 2015
    Copy the full SHA
    94a1019 View commit details
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/opal/sprockets/server.rb
1 change: 1 addition & 0 deletions lib/opal/sprockets/server.rb
Original file line number Diff line number Diff line change
@@ -117,6 +117,7 @@ def html
raise "index does not exist: #{@index_path}" unless File.exist?(@index_path)
Tilt.new(@index_path).render(self)
else
raise "Main asset path not configured (set 'main' within Opal::Server.new block)" if @server.main.nil?
source
end
end